Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151082 张锦程 输出学生成绩 C++ Wrong Answer 1 MS 272 KB 372 2026-04-04 15:41:54

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n[3][4]={},m; for(int i=0;i<3;i++){ for(int j=0;j<4;j++){ cin>>n[i][j]; } }cin>>m; double pjs; for(int i=0;i<4;i++) pjs+=n[m][i]; pjs=pjs/4; printf("%.2lf",pjs); for(int i=0;i<4;i++) cout<<n[m][i]<<" "; 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-----
82.0080 87 80 81