結果

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

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 83 ms
75,688 KB
testcase_01 AC 82 ms
75,348 KB
testcase_02 AC 80 ms
75,352 KB
testcase_03 AC 80 ms
75,480 KB
testcase_04 AC 99 ms
93,056 KB
testcase_05 AC 101 ms
93,436 KB
testcase_06 AC 109 ms
95,208 KB
testcase_07 AC 108 ms
95,520 KB
testcase_08 AC 109 ms
95,504 KB
testcase_09 AC 110 ms
95,508 KB
testcase_10 AC 109 ms
95,476 KB
testcase_11 AC 83 ms
75,716 KB
testcase_12 AC 81 ms
75,620 KB
testcase_13 AC 107 ms
95,516 KB
testcase_14 AC 108 ms
95,512 KB
testcase_15 AC 107 ms
95,104 KB
testcase_16 AC 108 ms
95,192 KB
testcase_17 AC 82 ms
75,756 KB
testcase_18 AC 107 ms
95,568 KB
testcase_19 AC 108 ms
95,860 KB
testcase_20 AC 82 ms
75,448 KB
testcase_21 AC 80 ms
75,732 KB
testcase_22 AC 83 ms
75,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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