Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165354 赵乐骏 输出学生成绩 C++ Wrong Answer 1 MS 276 KB 412 2026-11-14 17:59:27

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4]; for(int i=0;i<3;i++){ for(int j=0;j<4;j++){ cin>>a[i][j]; } } int sumi=0; for(int i=0;i<3;i++){ for(int j=0;j<4;j++){ sumi+=a[i][j]; } } cout<<sumi/12<<endl; cout<<a[2][0]<<" "<<a[2][1]<<" "<<a[2][2]<<" "<<a[2][3]<<endl; return 0; }


Run Info:

------Input------
75 77 80 70 80 87 80 81 90 89 100 88 1
------Answer-----
83.08 80 87 80 81
------Your output-----
83 90 89 100 88