結果

問題 No.1586 Equal Array
ユーザー 👑 KazunKazun
提出日時 2021-07-08 22:22:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 85 ms / 1,000 ms
コード長 99 bytes
コンパイル時間 282 ms
コンパイル使用メモリ 87,216 KB
実行使用メモリ 91,232 KB
最終ジャッジ日時 2023-09-14 04:59:10
合計ジャッジ時間 3,070 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,092 KB
testcase_01 AC 65 ms
71,532 KB
testcase_02 AC 66 ms
71,556 KB
testcase_03 AC 68 ms
71,504 KB
testcase_04 AC 82 ms
88,696 KB
testcase_05 AC 81 ms
88,776 KB
testcase_06 AC 81 ms
90,756 KB
testcase_07 AC 80 ms
90,844 KB
testcase_08 AC 80 ms
90,644 KB
testcase_09 AC 79 ms
90,816 KB
testcase_10 AC 81 ms
90,652 KB
testcase_11 AC 59 ms
71,440 KB
testcase_12 AC 60 ms
71,360 KB
testcase_13 AC 83 ms
90,956 KB
testcase_14 AC 83 ms
90,736 KB
testcase_15 AC 81 ms
90,540 KB
testcase_16 AC 81 ms
90,696 KB
testcase_17 AC 60 ms
71,292 KB
testcase_18 AC 81 ms
90,740 KB
testcase_19 AC 85 ms
91,232 KB
testcase_20 AC 64 ms
71,404 KB
testcase_21 AC 64 ms
71,116 KB
testcase_22 AC 59 ms
71,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
A=list(map(int,input().split()))
A_sum=sum(A)

print("Yes" if A_sum%N==0 else "No")
0