結果

問題 No.1586 Equal Array
ユーザー mesame3993mesame3993
提出日時 2021-09-26 20:09:13
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 50 ms / 1,000 ms
コード長 111 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 10,528 KB
実行使用メモリ 18,956 KB
最終ジャッジ日時 2023-09-19 04:23:21
合計ジャッジ時間 2,341 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,744 KB
testcase_01 AC 16 ms
7,844 KB
testcase_02 AC 17 ms
7,812 KB
testcase_03 AC 16 ms
7,744 KB
testcase_04 AC 42 ms
15,420 KB
testcase_05 AC 42 ms
15,568 KB
testcase_06 AC 50 ms
18,752 KB
testcase_07 AC 49 ms
18,892 KB
testcase_08 AC 48 ms
18,752 KB
testcase_09 AC 48 ms
18,776 KB
testcase_10 AC 48 ms
18,772 KB
testcase_11 AC 16 ms
7,768 KB
testcase_12 AC 16 ms
7,760 KB
testcase_13 AC 49 ms
18,812 KB
testcase_14 AC 48 ms
18,956 KB
testcase_15 AC 48 ms
18,760 KB
testcase_16 AC 48 ms
18,776 KB
testcase_17 AC 16 ms
7,856 KB
testcase_18 AC 47 ms
18,752 KB
testcase_19 AC 49 ms
18,760 KB
testcase_20 AC 15 ms
7,804 KB
testcase_21 AC 16 ms
7,892 KB
testcase_22 AC 16 ms
7,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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