Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
124591 晏莞煜 输出不及格学生的成绩 C++ Wrong Answer 1 MS 272 KB 584 2025-07-12 09:10:30

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ /** int n; cin>>n; int a[101]={0}; for(int i=1;i<=n;i++){ int u; cin>>u; a[u]++; } for(int i=1;i<=100;i++){ if(a[i]==1){ cout<<i; } } **/ int a[4],b[4],c[4]; for(int i=0;i<4;i++){ cin>>a[i]; } for(int i=0;i<4;i++){ cin>>b[i]; } for(int i=0;i<4;i++){ cin>>c[i]; } for(int i=0;i<4;i++){ if(a[i]<60){ cout<<a[0]<<a[1]<<a[2]<<a[3]; } if(b[i]<60){ cout<<b[0]<<b[1]<<b[2]<<b[3]; } if(c[i]<60){ cout<<c[0]<<c[1]<<c[2]<<c[3]; } } cout<<endl; }


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