| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 159095 | 王垚植 | 输出不及格学生的成绩 | C++ | Compile Error | 0 MS | 0 KB | 358 | 2026-08-25 19:56:52 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4]; for (int i=0;i<3;i++){ bool f=1; for (int j=0;j<4;j++){ cin>>a[i][j]; if (n>=60){ f=0; } if (f){ cout<<a[i][j]<<" "; } } cout<<endl } return 0; }
Main.cc: In function 'int main()':
Main.cc:9:17: error: 'n' was not declared in this scope
if (n>=60){
^
Main.cc:17:5: error: expected ';' before '}' token
}
^