Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95289 | 翟之一 | A+B 输入输出练习I | C++ | Compile Error | 0 MS | 0 KB | 152 | 2024-10-27 11:17:57 |
#include<bits/stdc++.h> using namespace std; int main(){ while(1){ int a,b; cin a,b; cout<<a+b<<endl; } return 0; }
Main.cc: In function 'int main()': Main.cc:6:9: error: expected ';' before 'a' cin a,b; ^ Main.cc:6:12: warning: statement has no effect [-Wunused-value] cin a,b; ^