2019-11-15: init

This commit is contained in:
2019-11-15 03:29:24 +09:00
commit 9780f1b736
32 changed files with 633 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
All = int(input())
case = []
v=0
for i in range(All):
test = list(map(int,input().split()))
case.append(test)
for i in range(All):
test_all = sum(case[i])-case[i][0]
Average = test_all/(len(case[i])-1)
for j in range(len(case[i])-1):
if Average < case[i][j+1]:
v+=1
else : pass
print("%.3f%%"%(round(((100*v)/(len(case[i])-1)),3)))
v=0