Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
159102 王垚植 输出不及格学生的成绩 C++ Wrong Answer 1 MS 268 KB 403 2026-08-25 20:03:54

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4]; for (int i=0;i<3;i++){ for (int j=0;j<4;j++){ cin>>a[i][j]; } } for (int i=0;i<3;i++){ bool f=0; for (int j=0;j<4;j++){ if (a[i][j]<60){ cout<<a[i][j]<<" "; f=1; } } cout<<endl; } return 0; }


Run Info:

------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