Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70710 文 A+B 输入输出练习I C++ Accepted 4 MS 264 KB 326 2024-04-17 19:32:13

Tests(1/1):


Code:

#include <iostream> using namespace std; int main() { int a, b; while (cin) { if (cin >> a) { if (cin >> b) { cout << a + b << endl; } else { break; } } else { break; } } return 0; }