杭电OJ --1000
2016-11-05 15:43
381 查看
A + B Problem
Problem Description:
Calculate A + B.Input:
Each line will contain two integers A and B. Process to end of file.Output:
For each case, output A + B in one line.Sample Input:
1 1Sample Output:
2Code:
#include <iostream> using namespace std; int main() { int a, b; while(cin>>a>>b) { cout<<a+b<<endl; } return 0; }
Tip:
本题较为简单,无提示。相关文章推荐
- 杭电OJ----1000之A+B
- 杭电OJ 1000
- 杭电OJ编码1000
- 我的杭电oj之旅——1000
- 杭电OJ-1000
- 杭电OJ1000 10001 10002题目及答案
- Java解题-杭电OJ-1000题
- 杭电OJ 1000 1+1 记录一下
- 杭电oj1000阶乘
- 杭电OJ题目 1000
- 杭电OJ-1000-(A + B Problem)
- 杭电OJ1000 A+B
- 杭电oj(java版)——1000
- 杭电oj 1000
- 杭电oj---2001 计算两点间的距离
- 杭电oj 2025
- 杭电oj 2032
- 开始学习ACM,刷杭电OJ
- 杭电ACM第1000题——A + B Problem
- 杭电OJ--2098 分拆素数和