Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73858 李韶凡 输出不及格学生的成绩 C++ Wrong Answer 0 MS 276 KB 551 2024-05-19 18:11:58

Tests(0/1):


Code:

#include<iostream> using namespace std; int main() { int a[100]={}; int b[100]={}; int c[100]={}; int q=0,w=0,e=0; for(int i=0;i<4;i++){ cin >> a[i]; if(a[i]<=59){ q++; } } for(int i=0;i<4;i++){ cin >> b[i]; if(a[i]<=59){ w++; } } for(int i=0;i<4;i++){ cin >> c[i]; if(a[i]<=59){ e++; } } if(q>=1){ for(int i=0;i<4;i++){ cout << a[i]; } } if(w>=1){ for(int i=0;i<4;i++){ cout << a[i]; } } if(e>=1){ for(int i=0;i<4;i++){ cout << a[i]; } } }


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