結果

問題 No.1586 Equal Array
ユーザー harapecoharapeco
提出日時 2022-04-07 09:34:41
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 101 ms / 1,000 ms
コード長 110 bytes
コンパイル時間 403 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 90,968 KB
最終ジャッジ日時 2023-08-18 16:29:59
合計ジャッジ時間 4,522 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,004 KB
testcase_01 AC 69 ms
71,008 KB
testcase_02 AC 69 ms
71,184 KB
testcase_03 AC 69 ms
71,128 KB
testcase_04 AC 101 ms
88,316 KB
testcase_05 AC 88 ms
88,348 KB
testcase_06 AC 89 ms
90,320 KB
testcase_07 AC 90 ms
90,336 KB
testcase_08 AC 90 ms
90,336 KB
testcase_09 AC 93 ms
90,384 KB
testcase_10 AC 91 ms
90,612 KB
testcase_11 AC 70 ms
71,240 KB
testcase_12 AC 69 ms
71,136 KB
testcase_13 AC 91 ms
90,420 KB
testcase_14 AC 89 ms
90,272 KB
testcase_15 AC 90 ms
90,328 KB
testcase_16 AC 92 ms
90,580 KB
testcase_17 AC 69 ms
71,000 KB
testcase_18 AC 93 ms
90,376 KB
testcase_19 AC 91 ms
90,968 KB
testcase_20 AC 66 ms
70,880 KB
testcase_21 AC 69 ms
71,288 KB
testcase_22 AC 69 ms
71,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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