A + B Problem
http://acm.hdu.edu.cn/showproblem.php?pid=1000
1
2 #include
3
4 int main() {
5 int a, b;
6 while(scanf("%d%d", &a, &b) != EOF)
7 printf("%d\n", a+b);
8 }
1
2 #include
3 using namespace std;
4
5 int main() {
6 int a, b;
7 while(cin >> a >> b)
8 cout << a+b << endl;
9 }
hdu1000 (2008-06-01 13:44:23由czk编辑)