ACM训练4
A+B Problem
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.
問題連接:https://vjudge.net/problem/hdu-1000?tdsourcetag=s_pctim_aiomsg
AC代碼如下:
#include <iostream> using namespace std; int main() {int a = 0, b = 0;while(cin >> a >> b)cout << a + b << endl;}?
總結
- 上一篇: 华为导航栏设置(华为怎么调整导航栏)
- 下一篇: ACM训练题6