Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
70706 文 A+B 输入输出练习I C++ Accepted 4 MS 272 KB 337 2024-04-17 18:44:59

Tests(1/1):


Code:

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