| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 106825 | 6张轶涵 | 输出不及格学生的成绩 | C++ | Wrong Answer | 1 MS | 264 KB | 315 | 2025-01-16 16:48:26 |
#include <bits/stdc++.h> using namespace std; int a[4][5]; bool f; int main() { for(int i=1;i<=3;i++) { for(int j=1;j<=4;j++) { cin>>a[i][j]; if(a[i][j]<60) { f=true; } } if(f) { cout<<a[i][1]<<" " <<a[i][2]<<" " <<a[i][3]<<endl; f=false; } } 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 77 80 40 89 100