結果

問題 No.1586 Equal Array
ユーザー SidewaysOwlSidewaysOwl
提出日時 2021-07-08 22:29:04
言語 PyPy3
(7.3.8)
結果
AC  
実行時間 112 ms / 1,000 ms
コード長 118 bytes
コンパイル時間 1,044 ms
使用メモリ 95,880 KB
最終ジャッジ日時 2023-02-01 18:37:52
合計ジャッジ時間 4,294 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 85 ms
75,800 KB
testcase_01 AC 83 ms
75,504 KB
testcase_02 AC 84 ms
75,768 KB
testcase_03 AC 84 ms
75,728 KB
testcase_04 AC 103 ms
93,148 KB
testcase_05 AC 103 ms
93,452 KB
testcase_06 AC 112 ms
95,548 KB
testcase_07 AC 111 ms
95,180 KB
testcase_08 AC 112 ms
95,212 KB
testcase_09 AC 111 ms
95,580 KB
testcase_10 AC 111 ms
95,584 KB
testcase_11 AC 84 ms
75,672 KB
testcase_12 AC 86 ms
75,728 KB
testcase_13 AC 110 ms
95,184 KB
testcase_14 AC 110 ms
95,540 KB
testcase_15 AC 109 ms
95,496 KB
testcase_16 AC 112 ms
95,564 KB
testcase_17 AC 84 ms
75,760 KB
testcase_18 AC 111 ms
95,684 KB
testcase_19 AC 112 ms
95,880 KB
testcase_20 AC 84 ms
75,768 KB
testcase_21 AC 88 ms
75,696 KB
testcase_22 AC 86 ms
75,480 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
sum_a = sum(list(map(int,input().split())))
if sum_a % n == 0:
    print("Yes")
else:
    print("No")
0