We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe3df2 commit d699cc2Copy full SHA for d699cc2
SWEA/Difficulty_2/SWEA_1984.py
@@ -0,0 +1,5 @@
1
+t = int(input())
2
+for tc in range(1, t + 1):
3
+ arr = sorted(map(int, input().split()))
4
+ result = round(sum(arr[1:9]) / 8)
5
+ print(f'#{tc} {result}')
0 commit comments