結果

問題 No.1586 Equal Array
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-07-08 22:23:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 1,000 ms
コード長 169 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 90,172 KB
最終ジャッジ日時 2023-09-14 05:00:40
合計ジャッジ時間 2,928 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
71,112 KB
testcase_01 AC 59 ms
71,084 KB
testcase_02 AC 58 ms
71,260 KB
testcase_03 AC 59 ms
71,280 KB
testcase_04 AC 79 ms
88,536 KB
testcase_05 AC 75 ms
88,404 KB
testcase_06 AC 79 ms
89,592 KB
testcase_07 AC 79 ms
89,556 KB
testcase_08 AC 82 ms
89,688 KB
testcase_09 AC 79 ms
89,892 KB
testcase_10 AC 78 ms
89,660 KB
testcase_11 AC 60 ms
70,912 KB
testcase_12 AC 59 ms
71,312 KB
testcase_13 AC 80 ms
89,660 KB
testcase_14 AC 81 ms
89,864 KB
testcase_15 AC 79 ms
89,644 KB
testcase_16 AC 80 ms
89,664 KB
testcase_17 AC 59 ms
70,912 KB
testcase_18 AC 78 ms
89,864 KB
testcase_19 AC 80 ms
90,172 KB
testcase_20 AC 60 ms
71,112 KB
testcase_21 AC 59 ms
71,280 KB
testcase_22 AC 60 ms
71,088 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