| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 136353 | 李亭绪 | 14报数拿糖 | C++ | Compile Error | 0 MS | 0 KB | 209 | 2025-11-12 19:12:09 |
#include <iostream> #include <cmath> #include <cstdio> using namespace std; int main() { int a,j=1; for(int i;i<=100;i++) { if(j>10) { j=1; } if(i%3==0) { cout<<j<<" "; } j++; continue; }
Main.cc: In function 'int main()':
Main.cc:7:5: warning: unused variable 'a' [-Wunused-variable]
int a,j=1;
^
Main.cc:20:1: error: expected '}' at end of input
}
^