运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
598746 cgr202440025189 1041 - The missing integer 编译错误 0 0 MS 0 KB C++ 398 5个月前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:8:19: warning: left operand of comma operator has no effect [-Wunused-value]
8 | for(int i=0;i<=11,i++)
| ~^~~~
Main.cc:8:27: error: expected ';' before ')' token
8 | for(int i=0;i<=11,i++)
| ^
| ;
Main.cc:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
15 | for(int m=0;m<=11;m++);
| ^~~
Main.cc:16:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
16 | {
| ^
Main.cc:17:59: error: break statement not within loop or switch
17 | if(S[m]!=0){printf("The missing integer is:%d",S[m]);break}
| ^~~~~
Main.cc:17:64: error: expected ';' before '}' token
17 | if(S[m]!=0){printf("The missing integer is:%d",S[m]);break}
| ^
| ;