Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
106826 | 6张轶涵 | 输出不及格学生的成绩 | C++ | Accepted | 1 MS | 272 KB | 329 | 2025-01-16 16:49:47 |
#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]<<" "<<a[i][4]<<endl; f=false; } } return 0; }