結果

問題 No.1586 Equal Array
ユーザー shinichishinichi
提出日時 2021-07-08 22:34:57
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 113 ms / 1,000 ms
コード長 132 bytes
コンパイル時間 288 ms
使用メモリ 95,940 KB
最終ジャッジ日時 2023-02-01 18:45:01
合計ジャッジ時間 4,378 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 86 ms
75,616 KB
testcase_01 AC 84 ms
75,664 KB
testcase_02 AC 86 ms
75,696 KB
testcase_03 AC 84 ms
75,324 KB
testcase_04 AC 103 ms
93,380 KB
testcase_05 AC 103 ms
93,516 KB
testcase_06 AC 110 ms
95,284 KB
testcase_07 AC 110 ms
95,112 KB
testcase_08 AC 111 ms
95,508 KB
testcase_09 AC 111 ms
95,500 KB
testcase_10 AC 113 ms
95,288 KB
testcase_11 AC 84 ms
75,336 KB
testcase_12 AC 83 ms
75,704 KB
testcase_13 AC 110 ms
95,492 KB
testcase_14 AC 111 ms
95,276 KB
testcase_15 AC 110 ms
95,164 KB
testcase_16 AC 110 ms
95,448 KB
testcase_17 AC 84 ms
75,724 KB
testcase_18 AC 111 ms
95,592 KB
testcase_19 AC 110 ms
95,940 KB
testcase_20 AC 84 ms
75,720 KB
testcase_21 AC 83 ms
75,684 KB
testcase_22 AC 84 ms
75,636 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