HDU_ACM_1000
来源:互联网 发布:unity3d硬件配置要求 编辑:程序博客网 时间:2024/06/11 19:04
A + B Problem
Time Limit: 1000 MS Memory Limit: 32768 K
Total Submission(s): 536182 Accepted Submission(s): 169714
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 1
Sample Output
2
作为我在CSDN写的第一篇博客,也是第一次写博客= =,就当是熟悉写博客的过程吧~题意so easy,计算A+B,下面是代码
#include <iostream>using namespace std;int main(){int a,b;while(cin>>a>>b)cout<<a+b<<endl;return 0; }在此立个Flag:考研成功并在研一被ACM玩一年=,=
0 0