Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152755 张皓凯 A+B 输入输出练习III C++ Compile Error 0 MS 0 KB 194 2026-05-02 10:20:23

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { while True: a, b = map(int, input().split()) if a == 0 and b == 0: break print(a + b) return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:11: error: expected '(' before 'True'
     while True:
           ^
Main.cc:5:11: error: 'True' was not declared in this scope
Main.cc:5:15: error: expected ')' before ':' token
     while True:
               ^
Main.cc:5:15: error: expected primary-expression before ':' token