水题 HDU-1000 A + B Problem
题目链接:杭电1000
题目大意:计算a+b
解法思路:算就行了 多样例输入
代码块:
#include<iostream>
using namespace std;
int main() {
int a, b;
while (cin >> a >> b) {
cout << a + b << endl;
}
return 0;
}
题目链接:杭电1000
题目大意:计算a+b
解法思路:算就行了 多样例输入
代码块:
#include<iostream>
using namespace std;
int main() {
int a, b;
while (cin >> a >> b) {
cout << a + b << endl;
}
return 0;
}