結果

問題 No.1586 Equal Array
ユーザー H3PO4H3PO4
提出日時 2021-07-08 22:23:12
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 43 ms / 1,000 ms
コード長 82 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 10,740 KB
実行使用メモリ 16,132 KB
最終ジャッジ日時 2023-09-14 05:01:01
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,796 KB
testcase_01 AC 14 ms
7,812 KB
testcase_02 AC 15 ms
7,900 KB
testcase_03 AC 14 ms
7,860 KB
testcase_04 AC 38 ms
15,136 KB
testcase_05 AC 38 ms
15,200 KB
testcase_06 AC 43 ms
16,096 KB
testcase_07 AC 43 ms
16,132 KB
testcase_08 AC 43 ms
16,028 KB
testcase_09 AC 42 ms
16,036 KB
testcase_10 AC 43 ms
16,008 KB
testcase_11 AC 15 ms
7,792 KB
testcase_12 AC 15 ms
7,996 KB
testcase_13 AC 43 ms
16,084 KB
testcase_14 AC 42 ms
15,980 KB
testcase_15 AC 42 ms
16,088 KB
testcase_16 AC 42 ms
16,068 KB
testcase_17 AC 15 ms
7,824 KB
testcase_18 AC 41 ms
16,028 KB
testcase_19 AC 42 ms
16,124 KB
testcase_20 AC 15 ms
7,828 KB
testcase_21 AC 14 ms
7,888 KB
testcase_22 AC 15 ms
7,944 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = map(int, input().split())
print('No' if sum(A)%N else 'Yes')
0