Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
86672 | 汤弘毅 | 输出学生成绩 | Python3 | Accepted | 33 MS | 3776 KB | 226 | 2024-07-27 10:05:57 |
s = [] for i in range(3): s.append(list(map(int,input().split()))) student = int(input()) sm = 0 for i in s: sm = sm+sum(i) ans = sm/12 print('{:.2f}'.format(ans)) print(' '.join([str(x) for x in s[student]]))