题目是再简单不错的A + B Problem,出题目的是为了让新手熟悉OJ系统。
无任何算法可言,了解输入和输出方式即可。
Code:

#include <cstdio> 
#include 
<iostream> 
using namespace std;
int main() 

#ifdef ONLINE_JUDGE
#else
    freopen(
"in.txt","r",stdin);
#endif
    
int a,b;
    
while(cin>>a>>b)
        cout
<<a+b<<endl;
    
return 0;
}

 

相关文章: