結果

問題 No.1586 Equal Array
ユーザー SPD_9X2SPD_9X2
提出日時 2021-07-08 22:23:04
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 114 ms / 1,000 ms
コード長 169 bytes
コンパイル時間 277 ms
使用メモリ 94,564 KB
最終ジャッジ日時 2023-02-01 18:29:18
合計ジャッジ時間 4,132 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 87 ms
75,548 KB
testcase_01 AC 87 ms
75,456 KB
testcase_02 AC 86 ms
75,688 KB
testcase_03 AC 87 ms
75,696 KB
testcase_04 AC 107 ms
92,772 KB
testcase_05 AC 107 ms
92,768 KB
testcase_06 AC 112 ms
94,488 KB
testcase_07 AC 112 ms
94,396 KB
testcase_08 AC 114 ms
94,328 KB
testcase_09 AC 113 ms
94,324 KB
testcase_10 AC 112 ms
94,564 KB
testcase_11 AC 87 ms
75,480 KB
testcase_12 AC 87 ms
75,444 KB
testcase_13 AC 114 ms
94,440 KB
testcase_14 AC 113 ms
94,420 KB
testcase_15 AC 113 ms
94,476 KB
testcase_16 AC 113 ms
94,112 KB
testcase_17 AC 85 ms
75,556 KB
testcase_18 AC 113 ms
94,516 KB
testcase_19 AC 114 ms
94,396 KB
testcase_20 AC 88 ms
75,352 KB
testcase_21 AC 88 ms
75,380 KB
testcase_22 AC 85 ms
75,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

import sys
from sys import stdin

N = int(input())

A = list(map(int,stdin.readline().split()))

if sum(A) % N == 0:
    print ("Yes")
else:
    print ("No")
0