結果

問題 No.1586 Equal Array
ユーザー trineutrontrineutron
提出日時 2021-07-08 22:23:09
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 112 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 10,588 KB
実行使用メモリ 18,980 KB
最終ジャッジ日時 2023-09-14 05:01:04
合計ジャッジ時間 1,869 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,768 KB
testcase_01 AC 15 ms
7,856 KB
testcase_02 AC 14 ms
7,872 KB
testcase_03 AC 15 ms
7,920 KB
testcase_04 AC 39 ms
15,504 KB
testcase_05 AC 40 ms
15,488 KB
testcase_06 AC 46 ms
18,940 KB
testcase_07 AC 46 ms
18,964 KB
testcase_08 AC 46 ms
18,824 KB
testcase_09 AC 46 ms
18,868 KB
testcase_10 AC 48 ms
18,864 KB
testcase_11 AC 15 ms
7,824 KB
testcase_12 AC 15 ms
7,928 KB
testcase_13 AC 46 ms
18,952 KB
testcase_14 AC 47 ms
18,868 KB
testcase_15 AC 46 ms
18,876 KB
testcase_16 AC 46 ms
18,980 KB
testcase_17 AC 15 ms
7,860 KB
testcase_18 AC 45 ms
18,864 KB
testcase_19 AC 46 ms
18,804 KB
testcase_20 AC 14 ms
7,824 KB
testcase_21 AC 14 ms
7,892 KB
testcase_22 AC 14 ms
7,920 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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