| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 119634 | 钟驰 | 输出不及格学生的成绩 | C++ | Compile Error | 0 MS | 0 KB | 614 | 2025-05-18 09:29:18 |
#include<bits/stdc++.h> using namespace std; int main() { int a[4],b[4],c[4]; for(int i=0;i<4;i++) cin>>a[i]; for(int i=0;i<4;i++) cin>>b[i]; for(int i=0;i<4;i++) cin>>c[i]; for(int i=0;i<4;i++) if(a[i]<60) fa=0; for(int i=0;i<4;i++) if(b[i]<60) fb=0; for(int i=0;i<4;i++) if(c[i]<60) fc=0; if(fa==0) { for(int i=0;i<4;i++) cout<<a[i]<<" "; cout<<endl; } if(fb==0) { for(int i=0;i<4;i++) cout<<b[i]<<" "; cout<<endl; } if(fc==0) { for(int i=0;i<4;i++) cout<<c[i]<<" "; cout<<endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:15:4: error: 'fa' was not declared in this scope
fa=0;
^
Main.cc:18:4: error: 'fb' was not declared in this scope
fb=0;
^
Main.cc:21:4: error: 'fc' was not declared in this scope
fc=0;
^
Main.cc:22:5: error: 'fa' was not declared in this scope
if(fa==0)
^
Main.cc:28:5: error: 'fb' was not declared in this scope
if(fb==0)
^
Main.cc:34:5: error: 'fc' was not declared in this scope
if(fc==0)
^