1
2
3
4
5
6
7
8
9
10
11
|
import sys
t=int(sys.stdin.readline())
for _ in range (t):
br=sys.stdin.readline()
studentN=int(sys.stdin.readline())
tmp=[]
for i in range(studentN):
tmp.append(int(sys.stdin.readline()))
if sum(tmp)%studentN==0: print("YES")
else : print("NO")
|
cs |
반응형
댓글