Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117939 | 胡海峰老师 | 输出不及格学生的成绩 | C++ | Wrong Answer | 0 MS | 268 KB | 467 | 2025-04-20 20:55:37 |
#include <iostream> using namespace std; int main(){ int a[3][4]; for (int i = 0;i < 3;i++){ for (int n = 0;n < 4;n++){ cin>>a[i][n]; } } if (a[0][0] < 60 || a[0][1] < 60 || a[0][2] < 60 || a[0][3] < 60 ){ cout << a[0]; } if (a[1][0] < 60 || a[1][1] < 60 || a[1][2] < 60 || a[1][3] < 60 ){ cout << a[1]; } if (a[2][0] < 60 || a[2][1] < 60 || a[2][2] < 60 || a[2][3] < 60 ){ cout << a[0]; } 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-----
0x7ffc0505c7c00x7ffc0505c7c0