Rating Problems
This commit is contained in:
5
ratingproblems.py
Normal file
5
ratingproblems.py
Normal 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}")
|
||||||
Reference in New Issue
Block a user