HDU 1000 A + B Problem
2014-03-15 18:04
218 查看
A + B Problem
Problem DescriptionCalculate 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 1
Sample Output
2
Author
HDOJ
#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) { cout<<a+b<<endl; } return 0; }
结果:
Run ID | Submit Time | Judge Status | Pro.ID | Exe.Time | Exe.Memory | Code Len. | Language | Author |
7484619 | 2013-01-07 17:34:37 | Accepted | 1000 | 0MS | 384K | 164 B | G++ |
HDU 1089 A+B for Input-Output Practice (I) http://acm.hdu.edu.cn/showproblem.php?pid=1089
相关文章推荐
- hdu1000 a+b problem
- hdu - 1000 - A + B Problem
- HDU 1000 A + B Problem (Java)
- hdu 1000 A + B Problem(Java)
- 【BZOJ1000】【POJ1000】【HDU1000】【Vijos P1000】A+B Problem
- hdu 1000 A + B Problem
- HDU 1000 A + B Problem
- HDU 1000 A + B Problem 1001 Sum Problem
- HDU 1000 A+B Problem
- hdu 1000(A + B Problem)
- HDU 1000 A + B Problem(指针版)
- [HDU1000] A + B Problem
- JAVA hdu 1000(A + B Problem)&&hdu 1001(Sum Problem)
- HDU 1000 A + B Problem
- HDU 1000 A + B Problem
- HDU-1000-A + B Problem
- HDU--1000--A + B Problem
- HDU 1000 A + B Problem
- HDU 1000 A + B Problem
- hdu1000 A + B Problem