| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 146515 | 余建成 | 15相同数的次数 | C++ | Compile Error | 0 MS | 0 KB | 285 | 2026-01-29 11:11:31 |
#include<iostream> using namespace std; int main() { int xl,xt,n,cnt=0; xl=xt=n=0; while(n<1000){ xl++; it(xl==21) xl=1; xt++; it(xt==31) xt=1; it(xt==xl) cnt++; n++; } cout<<cnt<<endl; return 0; }
Main.cc: In function 'int main()':
Main.cc:9:14: error: 'it' was not declared in this scope
it(xl==21)
^