Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119067 | 何松羽 | 输出不及格学生的成绩 | C++ | Wrong Answer | 1 MS | 268 KB | 283 | 2025-05-11 19:01:51 |
# 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]; cin>>b[i]; cin>>c[i]; } for(int i=0;i<4;i++){ if(a[i]<60){ cout<<a[i]<<" "<<a[i+1]<<" "<<a[i+2]<<" "<<a[i+3]<<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 70 80 89