Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
143485 丁俊杰 求整数的和与均值 Python3 Accepted 35 MS 3756 KB 135 2026-01-16 13:48:15

Tests(10/10):


Code:

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