Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101268 吴梓玄 计算平均数 C Compile Error 0 MS 0 KB 273 2024-12-14 17:29:43

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a[5],i; double s=0; for(i=0;i<5;i++) { cin>>a[i]; s+=a[i]; } printf("%.2f\n",s/5); for(i=0;i<5;i++) { if(a[i]>s/5){ cout<<a[i]<<" "; } } return 0; }


Run Info:

Main.c:1:26: fatal error: bits/stdc++.h: No such file or directory
 #include  
                          ^
compilation terminated.