restructure zeta/** to storage/zeta/**
This commit is contained in:
15
storage/zeta/py/completed/4344.py
Normal file
15
storage/zeta/py/completed/4344.py
Normal 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
|
||||
Reference in New Issue
Block a user