Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
2130 | 候震轩 | 02武王伐纣 | C++ | Compile Error | 0 MS | 0 KB | 157 | 2023-12-16 14:46:43 |
#include <iostream> using namespace std; int main(){ int age=20; cout<<age<<endl; int a; int b; cin>>a>>b cout<<b/a<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:10:2: error: expected ';' before 'cout' cout<b/a<<endl; ^