Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
123203 丁俊杰 求整数的和与均值 Python3 Accepted 41 MS 3760 KB 129 2025-06-28 13:13:25

Tests(10/10):


Code:

n=int(input()) res=0 for i in range(n): t=int(input()) res+=int(t) ave=res/n print("{} {:.5f}".format(res,ave))