| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 121102 | 胡汪兵-小胡老师 | 输出不及格学生的成绩 | C++ | Wrong Answer | 1 MS | 276 KB | 645 | 2025-06-06 19:23:35 |
#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) { for(int i=0;i<4;i++) { cout<<a[i]<<" "; break; } cout<<endl; } } for(int i=0;i<4;i++) { if(b[i]<60) { for(int i=0;i<4;i++) { cout<<b[i]<<" "; break; } cout<<endl; } } for(int i=0;i<4;i++) { if(c[i]<60) { for(int i=0;i<4;i++) { cout<<c[i]<<" "; break; } cout<<endl; } } return 0; }
------Input------
55 77 80 70 80 87 80 81 40 89 100 88
------Answer-----
55 77 80 70 40 89 100 88
------Your output-----
55 40