Files
ClassFeedback/Class-2026-C/CSP04橙子周六1400/digest-0845-20261024.json

1423 lines
43 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"generatedAt": "2026-09-26T10:29:02.729Z",
"baseUrl": "https://oj.qonnwolf.com",
"course": {
"id": "6a826183bdde81887a2237b5",
"title": "2026 秋季班 CSP04"
},
"group": "橙子周六0845CSP04",
"section": {
"id": "6a826183bdde81887a2237be",
"no": "03",
"name": "二维数组",
"title": "03 二维数组"
},
"progress": [
{
"title": "01 基础回顾",
"submitted": 6,
"started": 6,
"students": 6
},
{
"title": "02 简单排序",
"submitted": 6,
"started": 6,
"students": 6
},
{
"title": "03 二维数组",
"submitted": 5,
"started": 5,
"students": 6
},
{
"title": "04 二维数组图形",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "05 二维数组综合",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "06 综合训练1",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "07 自定义函数进阶",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "08 sort基础",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "09 sort进阶",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "10 结构体基础",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "11 结构体进阶",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "12 综合训练2",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "13 递推算法 ",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "14 指针基础",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "15 指针进阶",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "16 文件操作与异常处理",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "17 综合训练3",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "18 真题实战1",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "19 真题实战2",
"submitted": 0,
"started": 0,
"students": 6
},
{
"title": "20 期末考试",
"submitted": 0,
"started": 0,
"students": 6
}
],
"classSummary": {
"studentCount": 6,
"startedStudentCount": 5,
"submittedStudentCount": 5,
"completedStudentCount": 0,
"attentionStudentCount": 6,
"notStartedStudentCount": 1,
"recoveredStudentCount": 1,
"completionRate": 35.29,
"firstAttemptScoreRate": 70.79,
"finalScoreRate": 35.34,
"averageAttemptsPerStudent": 11.67,
"averageFirstAttemptDurationMs": 678709
},
"perProblem": [
{
"name": "📝 课堂练习",
"title": "CSP04-03A",
"problems": [
{
"pid": 4406,
"title": "矩阵原样输出",
"submitted": 5,
"accepted": 5,
"firstAttemptScoreRate": 62,
"averageAttempts": 1.4
},
{
"pid": 930,
"title": "图像相似度",
"submitted": 5,
"accepted": 4,
"firstAttemptScoreRate": 60,
"averageAttempts": 1.4
},
{
"pid": 4410,
"title": "矩阵加法",
"submitted": 5,
"accepted": 5,
"firstAttemptScoreRate": 100,
"averageAttempts": 1
},
{
"pid": 1520,
"title": "每个小组的最大年龄",
"submitted": 4,
"accepted": 4,
"firstAttemptScoreRate": 100,
"averageAttempts": 1
},
{
"pid": 4413,
"title": "每列最大值",
"submitted": 4,
"accepted": 3,
"firstAttemptScoreRate": 85,
"averageAttempts": 1.75
},
{
"pid": 6604,
"title": "二维数组 - 选择题",
"submitted": 5,
"accepted": 5,
"firstAttemptScoreRate": 12,
"averageAttempts": 5.2
},
{
"pid": 6605,
"title": "二维数组 - 判断题",
"submitted": 5,
"accepted": 5,
"firstAttemptScoreRate": 56,
"averageAttempts": 1.8
}
]
},
{
"name": "📋 课后作业",
"title": "CSP04-03B",
"problems": [
{
"pid": 4411,
"title": "矩阵元素总和",
"submitted": 2,
"accepted": 2,
"firstAttemptScoreRate": 100,
"averageAttempts": 1
},
{
"pid": 921,
"title": "奇偶统计",
"submitted": 2,
"accepted": 2,
"firstAttemptScoreRate": 100,
"averageAttempts": 1
},
{
"pid": 4412,
"title": "主对角线求和",
"submitted": 1,
"accepted": 1,
"firstAttemptScoreRate": 100,
"averageAttempts": 1
}
]
},
{
"name": "🚀 拓展练习",
"title": "CSP04-03C",
"problems": [
{
"pid": 3677,
"title": "二维数组应用 - 学习效率",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 4418,
"title": "行和列的总和",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 4419,
"title": "矩形区域求和",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 4420,
"title": "杨辉三角前n行",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 2517,
"title": "矩阵交换行",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 3678,
"title": "二维数组应用 - 矩阵翻转输出",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
},
{
"pid": 4414,
"title": "方阵顺时针旋转",
"submitted": 0,
"accepted": 0,
"firstAttemptScoreRate": null,
"averageAttempts": null
}
]
}
],
"students": [
{
"uid": 352,
"name": "张立坤",
"groups": [
"橙子周六0845CSP04",
"邓子周五1700CSP04"
],
"stats": {
"assigned": 17,
"accepted": 10,
"firstAttemptScoreRate": 73,
"finalScoreRate": 58.82,
"attemptCount": 16,
"signals": [
"尚未完成"
]
},
"problems": [
{
"tid": "tid1",
"pid": 930,
"title": "图像相似度",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 0,
"rid": "6ab4f7a2713ff6370c5a468c",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>br[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tif(ar[i][j]==br[i][j]){\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t}\n\tcout<<fixed<<setprecision(2)<<(n/9*1.0)*100;\n\treturn 0;\n}"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab4f872713ff6370c5a476d",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>br[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tif(ar[i][j]==br[i][j]){\n\t\t\t\tn++;\n\t\t\t}\n\t\t}\n\t}\n\tcout<<fixed<<setprecision(2)<<(n/(a*b)*1.0)*100;\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 1520,
"title": "每个小组的最大年龄",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4fa39713ff6370c5a48eb",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b,lz=0;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tif(ar[i][j]>lz){\n\t\t\t\tlz=ar[i][j];\n\t\t\t}\n\t\t}\n\t\tcout<<lz<<endl;\n\t\tlz=0;\n\t}\n\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4406,
"title": "矩阵原样输出",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 10,
"rid": "6aa4ff3d25d632ee5c41dbbe",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint a;\nint n,s;\nint main(){\n\tcin>>n>>s;\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=s;j++){\n\t\t\tcin>>a;\n\t\t\tcout<<a<<\" \";\n\t\t}\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6aa4ff9925d632ee5c41dc63",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint a;\nint n,s;\nint main(){\n\tcin>>n>>s;\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=s;j++){\n\t\t\tcin>>a;\n\t\t\tcout<<a<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
}
]
},
{
"tid": "tid1",
"pid": 4410,
"title": "矩阵加法",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4f946713ff6370c5a4815",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>br[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcout<<ar[i][j]+br[i][j]<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4413,
"title": "每列最大值",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4fba4713ff6370c5a4986",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b,lz=0;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=b;i++){\n\t\tfor(int j=1;j<=a;j++){\n\t\t\tif(ar[j][i]>lz){\n\t\t\t\tlz=ar[j][i];\n\t\t\t}\n\t\t}\n\t\tcout<<lz<<\" \";\n\t\tlz=0;\n\t}\n\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 6604,
"title": "二维数组 - 选择题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 20,
"rid": "6ab4fd7e713ff6370c5a4a39",
"lang": "_",
"errorHead": "",
"code": "'1': D\n'2': C\n'3': B\n'4': B\n'5': A\n"
},
{
"seq": 2,
"status": "WA",
"score": 20,
"rid": "6ab4fd9c713ff6370c5a4a4a",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': C\n'5': C\n"
},
{
"seq": 3,
"status": "WA",
"score": 40,
"rid": "6ab4fdac713ff6370c5a4a5a",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': D\n'3': B\n'4': A\n'5': B\n"
},
{
"seq": 4,
"status": "WA",
"score": 80,
"rid": "6ab4fdbb713ff6370c5a4a6a",
"lang": "_",
"errorHead": "",
"code": "'1': D\n'2': D\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 5,
"status": "AC",
"score": 100,
"rid": "6ab4fdc6713ff6370c5a4a7a",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
}
]
},
{
"tid": "tid1",
"pid": 6605,
"title": "二维数组 - 判断题",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4fe23713ff6370c5a4a98",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': B\n'5': B\n"
}
]
},
{
"tid": "tid2",
"pid": 921,
"title": "奇偶统计",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4ff4e713ff6370c5a4b71",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b,c,d;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t\tif(ar[i][j]%2==0){\n\t\t\t\tc++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}\n\tcout<<d<<\" \"<<c;\n\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid2",
"pid": 4411,
"title": "矩阵元素总和",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab4fe91713ff6370c5a4af9",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b,c;\ndouble n,m;\nint main(){\n\tcin>>a>>b;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=b;j++){\n\t\t\tcin>>ar[i][j];\n\t\t\tc+=ar[i][j];\n\t\t}\n\t}\n\tcout<<c;\n\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid2",
"pid": 4412,
"title": "主对角线求和",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab50002713ff6370c5a4c2b",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint ar[110][110],br[110][110];\nint a,b,c,d;\ndouble n,m;\nint main(){\n\tcin>>a;\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=a;j++){\n\t\t\tcin>>ar[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=a;i++){\n\t\tfor(int j=1;j<=a;j++){\n\t\t\tif(i==j){\n\t\t\t\tc+=ar[i][j];\n\t\t\t}\n\t\t}\n\t}\n\tcout<<c;\n\n\t\n\treturn 0;\n}"
}
]
}
]
},
{
"uid": 355,
"name": "欧俊宇",
"groups": [
"橙子周六0845CSP04"
],
"stats": {
"assigned": 17,
"accepted": 7,
"firstAttemptScoreRate": 71.43,
"finalScoreRate": 41.18,
"attemptCount": 12,
"signals": [
"尚未完成"
]
},
"problems": [
{
"tid": "tid1",
"pid": 930,
"title": "图像相似度",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab71e1e713ff6370c5abbd9",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b,shu=0;\n\tcin>>a>>b;\n\tint c1[a][b],c2[a][b];\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s1;\n\t\t\tcin>>s1;\n\t\t\tc2[i][j]=s1;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tif(c1[i][j]==c2[i][j]){\n\t\t\t\tshu++;\n\t\t\t}\n\t\t}\n\t}\n\tcout<<fixed<<setprecision(2)<<shu*100.00/(a*b);\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 1520,
"title": "每个小组的最大年龄",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab7207c713ff6370c5ac32c",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b;\n\tcin>>a>>b;\n\tint c1[a][b];\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tint maxx=0;\n\t\tfor(int j=0;j<b;j++){\n if(maxx<c1[i][j]){\n \tmaxx=c1[i][j];\n\t\t\t}\n\t\t}\n\t\tcout<<maxx;\n\t\tcout<<endl;\n\t}\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4406,
"title": "矩阵原样输出",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab71785713ff6370c5ab44f",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b;\n\tcin>>a>>b;\n\tint c[a][b];\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tcout<<c[i][j]<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4410,
"title": "矩阵加法",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab71f0d713ff6370c5abead",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b,shu=0;\n\tcin>>a>>b;\n\tint c1[a][b],c2[a][b];\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s1;\n\t\t\tcin>>s1;\n\t\t\tc2[i][j]=s1;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tcout<<c1[i][j]+c2[i][j]<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4413,
"title": "每列最大值",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 40,
"rid": "6ab720c2713ff6370c5ac456",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b;\n\tcin>>a>>b;\n\tint c1[a][b];\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tint maxx=0;\n\t\tfor(int j=0;j<b;j++){\n if(maxx<c1[j][i]){\n \tmaxx=c1[j][i];\n\t\t\t}\n\t\t}\n\t\tcout<<maxx<<\" \";\n\t\t\n\t}\n\t\n\treturn 0;\n}"
},
{
"seq": 2,
"status": "RE",
"score": 40,
"rid": "6ab72ca2713ff6370c5ae3a6",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint main(){\n\tint a,b;\n\tcin>>a>>b;\n\tint c1[a][b];\n\tfor(int j=0;j<a;j++){\n\t\tfor(int i=0;i<b;i++){\n\t\t\tint s;\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++){\n\t\tint maxx=0;\n\t\t\n\t\tfor(int j=0;j<b;j++){\n if(maxx<c1[i][j]){\n \tmaxx=c1[i][j];\n\t\t\t}\n\t\t}\n\t\tcout<<maxx<<\" \";\n\t\t\n\t}\n\t\n\treturn 0;\n}"
},
{
"seq": 3,
"status": "AC",
"score": 100,
"rid": "6ab72e73713ff6370c5ae689",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint c1[1000][1000];\nint main(){\n\tint a,b;\n\tcin>>a>>b;\n\tint s;\n\t\n\t\n\tfor(int i=0;i<a;i++){\n\t\tfor(int j=0;j<b;j++){\n\t\t\t\n\t\t\tcin>>s;\n\t\t\tc1[i][j]=s;\n\t\t}\n\t}\n\tfor(int j=0;j<b;j++){\n\t\tint maxx=0;\n\t\t\n\t\tfor(int i=0;i<a;i++){\n if(maxx<c1[i][j]){\n \tmaxx=c1[i][j];\n\t\t\t}\n\t\t}\n\t\tcout<<maxx<<\" \";\n\t\t\n\t}\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 6604,
"title": "二维数组 - 选择题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 20,
"rid": "6ab72280713ff6370c5ac8ea",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': C\n'3': B\n'4': B\n'5': B\n"
},
{
"seq": 2,
"status": "WA",
"score": 80,
"rid": "6ab7253c713ff6370c5aceb0",
"lang": "_",
"errorHead": "",
"code": "'1': D\n'2': D\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 3,
"status": "AC",
"score": 100,
"rid": "6ab72584713ff6370c5acfba",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
}
]
},
{
"tid": "tid1",
"pid": 6605,
"title": "二维数组 - 判断题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 40,
"rid": "6ab722c2713ff6370c5ac9b4",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': B\n'3': A\n'4': B\n'5': B\n"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab7276b713ff6370c5ad462",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': B\n'5': B\n"
}
]
}
]
},
{
"uid": 361,
"name": "谢明泓",
"groups": [
"橙子周六0845CSP04"
],
"stats": {
"assigned": 17,
"accepted": 9,
"firstAttemptScoreRate": 86.67,
"finalScoreRate": 52.94,
"attemptCount": 18,
"signals": [
"尚未完成"
]
},
"problems": [
{
"tid": "tid1",
"pid": 930,
"title": "图像相似度",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab76758713ff6370c5b0b5a",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\n\nint main(){\n int n,m,x;\n double sum = 0;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> x;\n \t\tif(l[i][j] == x)sum++;\n\t\t}\n\t}cout << fixed << setprecision(2) << 100*sum / (n*m);\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 1520,
"title": "每个小组的最大年龄",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab76d1f713ff6370c5b1235",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\n\nint main(){\n int n,m;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int i = 1;i <= n;i++){\n\t\tint mx = 0;\n \tfor(int j = 1;j <= m;j++){\n \t\tif(mx < l[i][j])mx = l[i][j];\n\t\t}\n\t\tcout << mx << endl;\n\t}\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4406,
"title": "矩阵原样输出",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab762a9713ff6370c5b07da",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[250][250];\n\nint main(){\n int n,m;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcout << l[i][j] << \" \";\n\t\t}\n\t\tcout << endl;\n\t}\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4410,
"title": "矩阵加法",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab76880713ff6370c5b0c6c",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\nint k[2500][2500];\n\nint main(){\n int n,m,sum = 0;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> k[i][j];\n\t\t}\n\t}\n\tfor(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcout << l[i][j] + k[i][j] << \" \";\n\t\t}\n\t\tcout << endl;\n\t}\n\t\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4413,
"title": "每列最大值",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab77991713ff6370c5b2bee",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\n\nint main(){\n int n,m;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int j = 1;j <= m;j++){\n\t\tint mx = 0;\t\n \tfor(int i = 1;i <= n;i++){\t\t\n \t\tif(mx < l[i][j])mx = l[i][j];\n\t\t}cout << mx << \" \";\n\t}\n\treturn 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 6604,
"title": "二维数组 - 选择题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 20,
"rid": "6ab772d0713ff6370c5b1b3c",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': A\n'3': B\n'4': B\n'5': A\n"
},
{
"seq": 2,
"status": "WA",
"score": 60,
"rid": "6ab77320713ff6370c5b1c20",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': D\n'3': B\n'4': A\n'5': D\n"
},
{
"seq": 3,
"status": "WA",
"score": 60,
"rid": "6ab7733f713ff6370c5b1c88",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': D\n'3': B\n'4': A\n'5': D\n"
},
{
"seq": 4,
"status": "WA",
"score": 60,
"rid": "6ab77355713ff6370c5b1c99",
"lang": "_",
"errorHead": "",
"code": "'1': D\n'2': D\n'3': B\n'4': C\n'5': D\n"
},
{
"seq": 5,
"status": "WA",
"score": 60,
"rid": "6ab7745d713ff6370c5b1f4c",
"lang": "_",
"errorHead": "",
"code": "'1': D\n'2': B\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 6,
"status": "WA",
"score": 60,
"rid": "6ab7747c713ff6370c5b1fa6",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 7,
"status": "WA",
"score": 60,
"rid": "6ab77490713ff6370c5b1fc1",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': C\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 8,
"status": "WA",
"score": 80,
"rid": "6ab774a0713ff6370c5b1ffe",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': B\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 9,
"status": "AC",
"score": 100,
"rid": "6ab774ab713ff6370c5b2021",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
}
]
},
{
"tid": "tid1",
"pid": 6605,
"title": "二维数组 - 判断题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 60,
"rid": "6ab772df713ff6370c5b1b56",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': B\n'3': A\n'4': B\n'5': B\n"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab77448713ff6370c5b1f1a",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': B\n'5': B\n"
}
]
},
{
"tid": "tid2",
"pid": 921,
"title": "奇偶统计",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab77b66713ff6370c5b2ecd",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\n\nint main(){\n int n,m,sum = 0,cnt = 0;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n\tfor(int j = 1;j <= m;j++){\n \tfor(int i = 1;i <= n;i++){\t\t\n\t\t\tif(l[i][j] % 2 != 0)sum++;\n\t\t\telse cnt++;\n\t\t}\n\t}cout << sum << \" \" << cnt;\n\treturn 0;\n}"
}
]
},
{
"tid": "tid2",
"pid": 4411,
"title": "矩阵元素总和",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab77aa7713ff6370c5b2dae",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint l[2500][2500];\n\nint main(){\n int n,m,sum = 0;\n cin >> n >> m;\n for(int i = 1;i <= n;i++){\n \tfor(int j = 1;j <= m;j++){\n \t\tcin >> l[i][j];\n\t\t}\n\t}\n for(int j = 1;j <= m;j++){\n \tfor(int i = 1;i <= n;i++){\t\t\n\t\tsum += l[i][j];\n\t }\n\t}cout << sum;\n\treturn 0;\n}"
}
]
}
]
},
{
"uid": 369,
"name": "汪子杰",
"groups": [
"橙子周六0845CSP04"
],
"stats": {
"assigned": 17,
"accepted": 5,
"firstAttemptScoreRate": 68,
"finalScoreRate": 29.41,
"attemptCount": 10,
"signals": [
"尚未完成",
"订正后提升明显"
]
},
"problems": [
{
"tid": "tid1",
"pid": 930,
"title": "图像相似度",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab71f04713ff6370c5abe80",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint a[110][110];\nint main(){\n\tint n,m,num,cnt=0;\n\tcin>>n>>m;\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcin>>a[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcin>>num;\n\t\t\tif(num==a[i][j]){\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t}\n\t}\n\tcout<<fixed<<setprecision(2)<<100.0*cnt/(n*m);\n\treturn 0;\n} "
}
]
},
{
"tid": "tid1",
"pid": 4406,
"title": "矩阵原样输出",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab719a4713ff6370c5ab75f",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint a[110][110];\nint main(){\n\tint n,m;\n\tcin>>n>>m;\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcin>>a[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcout<<a[i][j]<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\t\n\treturn 0;\n} "
}
]
},
{
"tid": "tid1",
"pid": 4410,
"title": "矩阵加法",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab72d34713ff6370c5ae477",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include<bits/stdc++.h>\nusing namespace std;\nint a[110][110];\nint main(){\n\tint n,m,num,cnt=0;\n\tcin>>n>>m;\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcin>>a[i][j];\n\t\t}\n\t}\n\tfor(int i=1;i<=n;i++){\n\t\tfor(int j=1;j<=m;j++){\n\t\t\tcin>>num;\n\t\t\tint cnt=num+a[i][j];\n\t\t\tcout<<cnt<<\" \";\n\t\t}\n\t\tcout<<endl;\n\t}\n\n\treturn 0;\n} "
}
]
},
{
"tid": "tid1",
"pid": 6604,
"title": "二维数组 - 选择题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 0,
"rid": "6ab72160713ff6370c5ac5df",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': A\n'4': A\n'5': A\n"
},
{
"seq": 2,
"status": "WA",
"score": 20,
"rid": "6ab72170713ff6370c5ac626",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': B\n'3': B\n'4': B\n'5': B\n"
},
{
"seq": 3,
"status": "WA",
"score": 40,
"rid": "6ab72181713ff6370c5ac65c",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': C\n'3': B\n'4': C\n'5': C\n"
},
{
"seq": 4,
"status": "AC",
"score": 100,
"rid": "6ab72192713ff6370c5ac6bf",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
},
{
"seq": 5,
"status": "AC",
"score": 100,
"rid": "6ab72199713ff6370c5ac6dd",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
}
]
},
{
"tid": "tid1",
"pid": 6605,
"title": "二维数组 - 判断题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 40,
"rid": "6ab721c8713ff6370c5ac746",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': A\n'4': A\n'5': A\n"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab721d2713ff6370c5ac77c",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': B\n'5': B\n"
}
]
}
]
},
{
"uid": 412,
"name": "魏铭轩",
"groups": [
"橙子周六0845CSP04"
],
"stats": {
"assigned": 17,
"accepted": 5,
"firstAttemptScoreRate": 48.57,
"finalScoreRate": 29.71,
"attemptCount": 14,
"signals": [
"尚未完成",
"首刷掌握不足"
]
},
"problems": [
{
"tid": "tid1",
"pid": 930,
"title": "图像相似度",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 0,
"rid": "6ab719c0713ff6370c5ab78a",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint arr[110][110];\nint main(){\n\tint n,m;\n\tcin>>n>>m; \n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\t\tcin>>arr[i][j]; \n\t\t}\n\t}\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\tcout<<arr[i][j]<<\" \";\t\t\n\t\t}\n\tcout<<endl;\n\t}\n\n\n\n\n\n\n return 0;\n}"
},
{
"seq": 2,
"status": "WA",
"score": 5,
"rid": "6ab71efa713ff6370c5abe38",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint arr[110][110];\nint main(){\n\tint n,m,num,cnt=0;\n\tcin>>n>>m; \n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\tcin>>arr[i][j];\n\t\t}\n\t}\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\t\tcin>>num;\n\t\t\tif(num==arr[i][j]){\n\t\t\t\tcnt++;\n\t\t\t}\t\n\t\t}\n\tcout<<fixed<<setprecision(2)<<100.0*cnt/(n*m);\n\t}\n return 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 1520,
"title": "每个小组的最大年龄",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab72b49713ff6370c5ae08b",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <iostream>\n#include <algorithm> // max_element 或者自己循环求最大\nusing namespace std;\n\nconst int N = 105;\nint a[N][N];\n\nint main()\n{\n int n, m;\n cin >> n >> m;\n for(int i = 0; i < n; i++)\n {\n int max_age = 0;\n for(int j = 0; j < m; j++)\n {\n cin >> a[i][j];\n if(a[i][j] > max_age)\n max_age = a[i][j];\n }\n cout << max_age << endl;\n }\n return 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4406,
"title": "矩阵原样输出",
"submissions": [
{
"seq": 1,
"status": "CE",
"score": 0,
"rid": "6ab71897713ff6370c5ab601",
"lang": "cc.cc14o2",
"errorHead": "foo.cc:16:10: error: expected '}' at end of input",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint arr[110][110];\nint main(){\n\tint n,m;\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\t\tcin>>arr[i][j]; \n\t\t}\n\t}\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\tcout<<arr[i][j];\t\t\n\t\t}\n\tcout<<endl;\n\t}"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab71976713ff6370c5ab734",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint arr[110][110];\nint main(){\n\tint n,m;\n\tcin>>n>>m; \n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\t\tcin>>arr[i][j]; \n\t\t}\n\t}\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\tcout<<arr[i][j]<<\" \";\t\t\n\t\t}\n\tcout<<endl;\n\t}\n\n\n\n\n\n\n return 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4410,
"title": "矩阵加法",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab72a63713ff6370c5ade81",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <iostream>\nusing namespace std;\n\nconst int N = 55;\nint a[N][N], b[N][N];\n\nint main(){\n int n, m;\n cin >> n >> m;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n cin >> a[i][j];\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n cin >> b[i][j];\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n if(j > 0) cout << \" \";\n cout << a[i][j] + b[i][j];\n }\n cout << endl;\n }\n return 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 4413,
"title": "每列最大值",
"submissions": [
{
"seq": 1,
"status": "AC",
"score": 100,
"rid": "6ab72cf7713ff6370c5ae44e",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <stdio.h>\nint main()\n{\n int n,m;\n int a[105][105];\n scanf(\"%d%d\",&n,&m);\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n scanf(\"%d\",&a[i][j]);\n }\n }\n for(int j=0;j<m;j++){\n int maxc = a[0][j];\n for(int i=1;i<n;i++){\n if(a[i][j]>maxc) maxc = a[i][j];\n }\n if(j>0) printf(\" \");\n printf(\"%d\",maxc);\n }\n printf(\"\\n\");\n return 0;\n}"
},
{
"seq": 2,
"status": "WA",
"score": 0,
"rid": "6ab72d42713ff6370c5ae498",
"lang": "cc.cc14o2",
"errorHead": "",
"code": "#include <bits/stdc++.h>\nusing namespace std;\nint arr[110][110];\nint main(){\n\tint n,m,num,cnt=0;\n\tcin>>n>>m; \n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\tcin>>arr[i][j];\n\t\t}\n\t}\n\tfor(int i=1; i<=n;i++){\n\t\tfor(int j=1; j<=m;j++){\n\t\t\tcin>>num;\n\t\t\tif(num==arr[i][j]){\n\t\t\t\tcnt++;\n\t\t\t}\t\n\t\t}\n\tcout<<fixed<<setprecision(2)<<100.0*cnt/(n*m);\n\t}\n return 0;\n}"
}
]
},
{
"tid": "tid1",
"pid": 6604,
"title": "二维数组 - 选择题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 0,
"rid": "6ab72178713ff6370c5ac647",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': A\n'4': A\n'5': A\n"
},
{
"seq": 2,
"status": "WA",
"score": 20,
"rid": "6ab72186713ff6370c5ac68f",
"lang": "_",
"errorHead": "",
"code": "'1': B\n'2': B\n'3': B\n'4': B\n'5': B\n"
},
{
"seq": 3,
"status": "WA",
"score": 40,
"rid": "6ab72194713ff6370c5ac6cd",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': C\n'3': B\n'4': C\n'5': C\n"
},
{
"seq": 4,
"status": "AC",
"score": 100,
"rid": "6ab721a6713ff6370c5ac6f6",
"lang": "_",
"errorHead": "",
"code": "'1': C\n'2': D\n'3': B\n'4': D\n'5': D\n"
}
]
},
{
"tid": "tid1",
"pid": 6605,
"title": "二维数组 - 判断题",
"submissions": [
{
"seq": 1,
"status": "WA",
"score": 40,
"rid": "6ab721c2713ff6370c5ac732",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': A\n'4': A\n'5': A\n"
},
{
"seq": 2,
"status": "AC",
"score": 100,
"rid": "6ab72582713ff6370c5acfa4",
"lang": "_",
"errorHead": "",
"code": "'1': A\n'2': A\n'3': B\n'4': B\n'5': B\n"
}
]
}
]
},
{
"uid": 413,
"name": "王佳琳",
"groups": [
"橙子周六0845CSP04"
],
"stats": {
"assigned": 17,
"accepted": 0,
"firstAttemptScoreRate": null,
"finalScoreRate": 0,
"attemptCount": 0,
"signals": [
"尚未开始"
]
},
"problems": []
}
],
"objective": {
"6604": {
"title": "二维数组 - 选择题 - 题目详情 - 穹狼科创",
"questions": [
{
"no": 1,
"text": "【202606】小杨正在开发一款名为&quot;星际网格&quot;的游戏,他用二维数组 int map[5][4]; 来表示地图。已知 int 占 4 字节,如果 map 的内存地址是 0x2000 ,则表达式 &map + 1 的地址值是( )。",
"options": [
"0x204c",
"0x205c",
"0x2050",
"0x2058"
]
},
{
"no": 2,
"text": "【202412】假定整型是 32 位,对一个 2 行 3 列的二维整数数组 array ,假设数组第一个元素在内存中的地址为 0x7ffee4065820 ,则第 2 行第 2 个元素的地址 &array[1][1] 为( )。 int array[2][3] = { {0, 1, 2}, {3, 4, 5} };",
"options": [
"0x7ffee4065824",
"0x7ffee4065828",
"0x7ffee406582c",
"0x7ffee4065830"
]
},
{
"no": 3,
"text": "【202503】下面( )正确定义了二维数组。",
"options": [
"int arr[3,4];",
"int arr[3][4];",
"int arr(3,4);",
"int a[3-4];"
]
},
{
"no": 4,
"text": "【202409】一个二维数组定义为 int arr[3][4]; (假设一个 int 变量占 4 个字节),则 int arr[0] 占用( )个字节的内存。",
"options": [
"3",
"4",
"12",
"16"
]
},
{
"no": 5,
"text": "【202506】下面的函数接收一个3行4列的二维数组并输出其中元素,则横线上不能填写( )。 void printArray(________) { for (int i = 0; i < 3; ++i) for (int j = 0; j < 4; ++j) std::cout << arr[i][j] << &quot; &quot;; }",
"options": [
"int arr[3][4]",
"int arr[][4]",
"int (*arr)[4]",
"int** arr"
]
}
]
},
"6605": {
"title": "二维数组 - 判断题 - 题目详情 - 穹狼科创",
"questions": [
{
"no": 1,
"text": "【202512】在 C++ 中,定义如下二维数组: int a[3][4]; ,数组 a 在内存中是按行优先连续存放的,即 a[0][0] 、 a[0][1] 、 a[0][2] 、 a[0][3] 在内存中是连续的。",
"options": [
"正确",
"错误"
]
},
{
"no": 2,
"text": "【202309】如果希望记录 10 个最长为 99 字节的字符串,可以将字符串数组定义为 char s[10][100]; 。",
"options": [
"正确",
"错误"
]
},
{
"no": 3,
"text": "【202503】二维数组作为函数参数时,必须显式指定所有维度的大小。",
"options": [
"正确",
"错误"
]
},
{
"no": 4,
"text": "【202412】 int arr[3][] 是一个正确的二维数组的声明。",
"options": [
"正确",
"错误"
]
},
{
"no": 5,
"text": "【202506】下面这段代码不合法,因为每一行都必须显式初始化3个元素。 int arr[2][3] = {{1, 2}, {3}};",
"options": [
"正确",
"错误"
]
}
]
}
}
}