| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 165116 | 郦辰希 | 杀人游戏 | C++ | Compile Error | 0 MS | 0 KB | 280 | 2026-11-10 20:14:17 |
#include<bits/stdc++.h> using namespace std; int a[10001]={}; int main() { int n,m; cin>>n>>m; int pe=n; int i=0,num=0; while(pe>1) { i++; if(i>n) i=1; if(a[i]==0) { num++; i return 0; }
Main.cc: In function 'int main()':
Main.cc:15:5: error: expected ';' before 'return'
return 0;
^
Main.cc:15:13: warning: statement has no effect [-Wunused-value]
return 0;
^
Main.cc:16:1: error: expected '}' at end of input
}
^
Main.cc:16:1: error: expected '}' at end of input