結果

問題 No.1586 Equal Array
ユーザー minimumminimum
提出日時 2021-07-08 22:23:13
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 94 ms / 1,000 ms
コード長 106 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 87,256 KB
実行使用メモリ 91,100 KB
最終ジャッジ日時 2023-09-14 05:01:08
合計ジャッジ時間 3,371 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,204 KB
testcase_01 AC 71 ms
71,336 KB
testcase_02 AC 70 ms
71,168 KB
testcase_03 AC 77 ms
71,592 KB
testcase_04 AC 93 ms
88,656 KB
testcase_05 AC 87 ms
88,664 KB
testcase_06 AC 90 ms
91,100 KB
testcase_07 AC 90 ms
90,868 KB
testcase_08 AC 90 ms
90,820 KB
testcase_09 AC 90 ms
90,824 KB
testcase_10 AC 91 ms
90,756 KB
testcase_11 AC 68 ms
71,316 KB
testcase_12 AC 69 ms
71,280 KB
testcase_13 AC 92 ms
90,676 KB
testcase_14 AC 91 ms
90,852 KB
testcase_15 AC 91 ms
90,856 KB
testcase_16 AC 91 ms
90,812 KB
testcase_17 AC 70 ms
71,284 KB
testcase_18 AC 94 ms
90,796 KB
testcase_19 AC 92 ms
91,012 KB
testcase_20 AC 68 ms
71,592 KB
testcase_21 AC 69 ms
71,312 KB
testcase_22 AC 69 ms
71,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int, input().split()))
if sum(a) % n:
    print("No")
else:
    print("Yes")
0