結果

問題 No.476 正しくない平均
ユーザー yukesyukes
提出日時 2022-11-15 21:00:42
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 135 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,548 KB
実行使用メモリ 29,752 KB
最終ジャッジ日時 2023-10-15 02:46:23
合計ジャッジ時間 7,802 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
29,652 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 132 ms
29,652 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 133 ms
29,588 KB
testcase_09 AC 130 ms
29,608 KB
testcase_10 AC 129 ms
29,636 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 142 ms
29,552 KB
testcase_16 AC 134 ms
29,692 KB
testcase_17 AC 141 ms
29,692 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 134 ms
29,572 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 AC 134 ms
29,604 KB
testcase_25 AC 138 ms
29,584 KB
testcase_26 WA -
testcase_27 AC 134 ms
29,560 KB
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy
n,a = (int(x) for x in input().split())
l = list(map(int, input().split()))
print("YES" if a==numpy.average(l) else "YES")
0