結果

問題 No.1586 Equal Array
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2021-07-08 22:23:40
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 99 ms / 1,000 ms
コード長 111 bytes
コンパイル時間 277 ms
コンパイル使用メモリ 87,240 KB
実行使用メモリ 91,100 KB
最終ジャッジ日時 2023-09-14 05:01:36
合計ジャッジ時間 3,575 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,228 KB
testcase_01 AC 73 ms
71,464 KB
testcase_02 AC 73 ms
71,076 KB
testcase_03 AC 73 ms
70,908 KB
testcase_04 AC 92 ms
88,752 KB
testcase_05 AC 93 ms
88,708 KB
testcase_06 AC 96 ms
90,860 KB
testcase_07 AC 96 ms
90,632 KB
testcase_08 AC 98 ms
90,772 KB
testcase_09 AC 97 ms
90,716 KB
testcase_10 AC 99 ms
90,628 KB
testcase_11 AC 75 ms
71,392 KB
testcase_12 AC 76 ms
71,136 KB
testcase_13 AC 98 ms
90,736 KB
testcase_14 AC 98 ms
90,504 KB
testcase_15 AC 97 ms
90,852 KB
testcase_16 AC 97 ms
90,620 KB
testcase_17 AC 73 ms
71,448 KB
testcase_18 AC 97 ms
91,036 KB
testcase_19 AC 99 ms
91,100 KB
testcase_20 AC 74 ms
71,300 KB
testcase_21 AC 73 ms
71,236 KB
testcase_22 AC 74 ms
71,104 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int,input().split()))
s = sum(A)
if s%n:
    print("No")
    exit()

print("Yes")
0