Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
127437 周辰彦 输出学生成绩 C++ Time Limit Exceeded 1000 MS 264 KB 297 2025-07-27 16:19:20

Tests(0/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a[10][10],n,s=0; for(int i=0;i<3;i++) for(int j=0;i<4;j++) { cin>>a[i][j]; s+=a[i][j]; } cin>>n; printf("%.2lf",s*1.0/12); cout<<endl; for(int j=0;j<4;j++) cout<<a[n][j]<<" "; return 0; }