結果

問題 No.1586 Equal Array
ユーザー shinichishinichi
提出日時 2021-07-08 22:34:57
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 1,000 ms
コード長 132 bytes
コンパイル時間 396 ms
コンパイル使用メモリ 86,832 KB
実行使用メモリ 90,940 KB
最終ジャッジ日時 2023-09-14 05:11:54
合計ジャッジ時間 3,345 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,068 KB
testcase_01 AC 70 ms
71,192 KB
testcase_02 AC 62 ms
71,284 KB
testcase_03 AC 62 ms
71,076 KB
testcase_04 AC 88 ms
88,504 KB
testcase_05 AC 80 ms
88,636 KB
testcase_06 AC 81 ms
90,604 KB
testcase_07 AC 81 ms
90,716 KB
testcase_08 AC 83 ms
90,660 KB
testcase_09 AC 82 ms
90,540 KB
testcase_10 AC 85 ms
90,604 KB
testcase_11 AC 62 ms
71,064 KB
testcase_12 AC 60 ms
71,284 KB
testcase_13 AC 82 ms
90,528 KB
testcase_14 AC 81 ms
90,592 KB
testcase_15 AC 81 ms
90,616 KB
testcase_16 AC 82 ms
90,668 KB
testcase_17 AC 62 ms
71,180 KB
testcase_18 AC 85 ms
90,940 KB
testcase_19 AC 88 ms
90,940 KB
testcase_20 AC 69 ms
71,252 KB
testcase_21 AC 67 ms
71,184 KB
testcase_22 AC 65 ms
71,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int, input().split()))

sums = sum(A)
if (sums/n).is_integer():
    print('Yes')
else:
    print('No')
0