Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
96547 | 蔡佳轩 | 15加到第几项 | C++ | Compile Error | 0 MS | 0 KB | 88 | 2024-11-09 11:17:21 |
int n=1,s=0; while(s<1000){ s = s+n; n++; } cout<<n; }
Main.cc:2:5: error: expected unqualified-id before 'while' while(s<1000){ ^ Main.cc:6:5: error: 'cout' does not name a type cout<