Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2128 | 候震轩 | [在线测评解答教程] A+B Problem | C++ | Compile Error | 0 MS | 0 KB | 157 | 2023-12-16 14:44:56 |
#include <iostream> using namespace std; int main(){ int age=20; cout<<age<<endl; int a; int b; cin>>a>>b cout<<a+b<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:10:2: error: expected ';' before 'cout' cout<a+b<<endl; ^