結果

問題 No.1586 Equal Array
ユーザー SidewaysOwlSidewaysOwl
提出日時 2021-07-08 22:29:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 91 ms / 1,000 ms
コード長 118 bytes
コンパイル時間 244 ms
コンパイル使用メモリ 86,744 KB
実行使用メモリ 90,880 KB
最終ジャッジ日時 2023-09-14 05:07:28
合計ジャッジ時間 3,038 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,144 KB
testcase_01 AC 64 ms
71,112 KB
testcase_02 AC 65 ms
71,160 KB
testcase_03 AC 63 ms
71,316 KB
testcase_04 AC 80 ms
88,572 KB
testcase_05 AC 80 ms
88,600 KB
testcase_06 AC 86 ms
90,536 KB
testcase_07 AC 83 ms
90,472 KB
testcase_08 AC 83 ms
90,696 KB
testcase_09 AC 91 ms
90,704 KB
testcase_10 AC 84 ms
90,568 KB
testcase_11 AC 63 ms
71,488 KB
testcase_12 AC 61 ms
71,088 KB
testcase_13 AC 86 ms
90,504 KB
testcase_14 AC 88 ms
90,624 KB
testcase_15 AC 87 ms
90,608 KB
testcase_16 AC 87 ms
90,572 KB
testcase_17 AC 63 ms
70,956 KB
testcase_18 AC 85 ms
90,568 KB
testcase_19 AC 88 ms
90,880 KB
testcase_20 AC 63 ms
71,240 KB
testcase_21 AC 67 ms
71,160 KB
testcase_22 AC 63 ms
71,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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