結果

問題 No.2451 Redistribute Integers
ユーザー minimumminimum
提出日時 2023-09-01 21:30:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 150 bytes
コンパイル時間 618 ms
コンパイル使用メモリ 87,112 KB
実行使用メモリ 173,992 KB
最終ジャッジ日時 2023-09-01 21:30:31
合計ジャッジ時間 4,521 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,644 KB
testcase_01 AC 73 ms
71,400 KB
testcase_02 AC 73 ms
71,292 KB
testcase_03 AC 71 ms
71,540 KB
testcase_04 AC 208 ms
154,596 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 73 ms
71,472 KB
testcase_08 AC 163 ms
149,480 KB
testcase_09 AC 71 ms
71,364 KB
testcase_10 AC 73 ms
71,428 KB
testcase_11 AC 73 ms
71,536 KB
testcase_12 WA -
testcase_13 AC 193 ms
173,992 KB
testcase_14 AC 191 ms
153,248 KB
testcase_15 AC 134 ms
111,092 KB
testcase_16 AC 131 ms
104,984 KB
testcase_17 WA -
testcase_18 AC 200 ms
141,564 KB
testcase_19 WA -
testcase_20 AC 156 ms
137,500 KB
testcase_21 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
if N == 2:
    print("Yes")
    exit()
A = list(map(int, input().split()))
if sum(A) % N == 0:
    print("Yes")
else:
    print("No")
0