結果

問題 No.1586 Equal Array
ユーザー shakayamishakayami
提出日時 2021-07-08 22:22:11
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 80 ms / 1,000 ms
コード長 106 bytes
コンパイル時間 735 ms
コンパイル使用メモリ 87,224 KB
実行使用メモリ 85,636 KB
最終ジャッジ日時 2023-09-14 04:59:01
合計ジャッジ時間 3,565 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
70,904 KB
testcase_01 AC 60 ms
71,192 KB
testcase_02 AC 59 ms
71,064 KB
testcase_03 AC 62 ms
71,192 KB
testcase_04 AC 72 ms
83,272 KB
testcase_05 AC 72 ms
83,236 KB
testcase_06 AC 78 ms
85,420 KB
testcase_07 AC 78 ms
85,284 KB
testcase_08 AC 79 ms
85,388 KB
testcase_09 AC 77 ms
85,344 KB
testcase_10 AC 80 ms
85,400 KB
testcase_11 AC 60 ms
71,444 KB
testcase_12 AC 58 ms
71,196 KB
testcase_13 AC 76 ms
85,136 KB
testcase_14 AC 77 ms
85,292 KB
testcase_15 AC 75 ms
85,300 KB
testcase_16 AC 77 ms
85,220 KB
testcase_17 AC 60 ms
71,072 KB
testcase_18 AC 78 ms
85,412 KB
testcase_19 AC 77 ms
85,636 KB
testcase_20 AC 60 ms
71,392 KB
testcase_21 AC 60 ms
71,280 KB
testcase_22 AC 62 ms
71,068 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=[int(i) for i in input().split()]
if sum(A)%N==0:
    print("Yes")
else:
    print("No")
0