| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 127426 | 董予轩 | 输出学生成绩 | C++ | Compile Error | 0 MS | 0 KB | 299 | 2025-07-27 16:11:33 |
#include<bits/stdc++.h> using namespace std; int main() { int a[10][10],sum=0,n; for(int i=0;i<3;i++) for(int j=0;j<4;j++) { cin>>a[i][j]; sum+=a[i][j]; } cin>>n; printf("%.2f",sum*1.0/12) cout<<endl; for(int j=0;j<4;j++) cout<<a[n+1][j]<<" "; return 0; }
Main.cc: In function 'int main()': Main.cc:14:2: error: expected ';' before 'cout' cout<