Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125598 | 张铖睿 | 输出学生成绩 | C++ | Accepted | 0 MS | 272 KB | 278 | 2025-07-15 10:03:18 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4],n,sum=0; 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\n",sum*1.0/12); for(int j=0;j<4;j++) cout<<a[n][j]<<" "; return 0; }