题目是再简单不错的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;
}

 

相关文章:

  • 2021-05-23
  • 2022-03-05
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2022-02-18
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2021-09-25
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
相关资源
相似解决方案