Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
113358 | 孙卓暄 | 01简单换行输出 | C++ | Compile Error | 0 MS | 0 KB | 110 | 2025-03-15 18:01:18 |
#include<bits/stdc++.h> using namespace std; int main(){ cout<<1;endl cout<<2;endl return 0; }
Main.cc: In function 'int main()': Main.cc:5:5: error: expected ';' before 'cout' cout<<2;endl ^ Main.cc:5:12: error: statement cannot resolve address of overloaded function cout<<2;endl ^ Main.cc:6:2: error: expected ';' before 'return' return 0; ^ Main.cc:6:10: error: statement cannot resolve address of overloaded function return 0; ^