Rating Problems

This commit is contained in:
2023-06-23 23:27:08 +02:00
parent b0eafc3be0
commit cafd55a3c8

5
ratingproblems.py Normal file
View File

@@ -0,0 +1,5 @@
n, k = map(int, input().split())
s = 0
for _ in range(k):
s += int(input())
print(f"{(s - (n-k)*3) / n} {(s + (n-k)*3) / n}")