結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
7,812 KB
testcase_01 AC 12 ms
7,812 KB
testcase_02 AC 12 ms
7,932 KB
testcase_03 AC 12 ms
7,784 KB
testcase_04 AC 36 ms
15,416 KB
testcase_05 AC 36 ms
15,460 KB
testcase_06 AC 42 ms
18,888 KB
testcase_07 AC 40 ms
18,888 KB
testcase_08 AC 38 ms
18,876 KB
testcase_09 AC 39 ms
18,848 KB
testcase_10 AC 44 ms
18,888 KB
testcase_11 AC 13 ms
7,784 KB
testcase_12 AC 13 ms
7,820 KB
testcase_13 AC 42 ms
18,872 KB
testcase_14 AC 40 ms
18,976 KB
testcase_15 AC 40 ms
18,888 KB
testcase_16 AC 38 ms
18,884 KB
testcase_17 AC 12 ms
7,860 KB
testcase_18 AC 38 ms
18,940 KB
testcase_19 AC 39 ms
18,892 KB
testcase_20 AC 12 ms
7,740 KB
testcase_21 AC 12 ms
7,860 KB
testcase_22 AC 12 ms
7,860 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
a=list(map(int,input().split()))

s = sum(a)
if s%n==0:
    print("Yes")
else:
    print("No")
0