結果

問題 No.476 正しくない平均
ユーザー brthyyjpbrthyyjp
提出日時 2020-07-28 00:40:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 87,216 KB
実行使用メモリ 71,428 KB
最終ジャッジ日時 2023-09-11 06:13:36
合計ジャッジ時間 4,180 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
71,116 KB
testcase_01 AC 76 ms
71,032 KB
testcase_02 AC 78 ms
71,232 KB
testcase_03 AC 74 ms
71,208 KB
testcase_04 AC 74 ms
71,024 KB
testcase_05 AC 76 ms
71,120 KB
testcase_06 AC 74 ms
71,348 KB
testcase_07 AC 74 ms
71,276 KB
testcase_08 AC 75 ms
71,048 KB
testcase_09 AC 75 ms
71,032 KB
testcase_10 AC 75 ms
71,396 KB
testcase_11 AC 76 ms
71,140 KB
testcase_12 AC 76 ms
71,140 KB
testcase_13 AC 75 ms
71,352 KB
testcase_14 AC 76 ms
71,308 KB
testcase_15 AC 76 ms
71,220 KB
testcase_16 AC 75 ms
70,880 KB
testcase_17 AC 76 ms
71,072 KB
testcase_18 AC 78 ms
71,104 KB
testcase_19 AC 78 ms
71,428 KB
testcase_20 AC 76 ms
71,076 KB
testcase_21 AC 75 ms
71,372 KB
testcase_22 AC 74 ms
71,120 KB
testcase_23 AC 74 ms
71,080 KB
testcase_24 AC 74 ms
71,280 KB
testcase_25 AC 75 ms
71,100 KB
testcase_26 AC 75 ms
71,020 KB
testcase_27 AC 75 ms
71,108 KB
testcase_28 AC 75 ms
71,108 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, a = map(int, input().split())
X = list(map(int, input().split()))
if n*a == sum(X):
    print('YES')
else:
    print('NO')
0