摘要:
找了网上好久都不会,后来是陈禹学长一步一步教会我的,谢谢。在start页点 Creat a new project或者 File->New->Project然后C或C++都可接着,工程名和路径都不要有中文!:看一下左边有没有Management窗口:如果没有就按 View->Manager现在打开Management窗口中的 a工程中的 Sourses里面的 main.cpp:覆盖一下代码试验:View Code 1 # include <iostream> 2 3 using namespace std; 4 5 int main () 6 { 7 int a, 阅读全文
摘要:
5.2.1 小学生算术 http://poj.grids.cn/practice/2562/View Code 1 # include <stdio.h> 2 3 int main () { 4 5 int a, b; 6 while (scanf("%d %d", &a, &b) == 2) { 7 if (!a && !b) break; 8 int c = 0, ans = 0; 9 for (int i = 9; i>=0; i--) {10 c = (a%10 + b%10 + c) >9 ... 阅读全文