結果

問題 No.1586 Equal Array
ユーザー H20H20
提出日時 2021-07-08 23:15:15
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 117 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 320 ms
使用メモリ 95,784 KB
最終ジャッジ日時 2023-02-01 19:17:02
合計ジャッジ時間 4,498 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 87 ms
75,524 KB
testcase_01 AC 88 ms
75,556 KB
testcase_02 AC 89 ms
75,368 KB
testcase_03 AC 88 ms
75,408 KB
testcase_04 AC 106 ms
93,324 KB
testcase_05 AC 107 ms
93,428 KB
testcase_06 AC 117 ms
95,452 KB
testcase_07 AC 116 ms
95,080 KB
testcase_08 AC 115 ms
95,532 KB
testcase_09 AC 113 ms
95,368 KB
testcase_10 AC 115 ms
95,224 KB
testcase_11 AC 87 ms
75,560 KB
testcase_12 AC 86 ms
75,696 KB
testcase_13 AC 114 ms
95,548 KB
testcase_14 AC 115 ms
95,128 KB
testcase_15 AC 111 ms
95,088 KB
testcase_16 AC 112 ms
95,224 KB
testcase_17 AC 87 ms
75,444 KB
testcase_18 AC 115 ms
95,508 KB
testcase_19 AC 114 ms
95,784 KB
testcase_20 AC 87 ms
75,812 KB
testcase_21 AC 87 ms
75,700 KB
testcase_22 AC 89 ms
75,516 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = list(map(int, input().split()))
SA = sum(A)
if SA%N==0:
    print('Yes')
else:
    print('No')
0