結果

問題 No.476 正しくない平均
ユーザー deepjugglingdeepjuggling
提出日時 2022-06-14 07:28:53
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 82,512 KB
実行使用メモリ 53,364 KB
最終ジャッジ日時 2024-04-09 22:32:48
合計ジャッジ時間 2,145 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
51,948 KB
testcase_01 AC 33 ms
51,908 KB
testcase_02 AC 33 ms
52,128 KB
testcase_03 AC 33 ms
53,364 KB
testcase_04 AC 36 ms
52,332 KB
testcase_05 AC 35 ms
53,324 KB
testcase_06 AC 33 ms
52,304 KB
testcase_07 AC 34 ms
52,624 KB
testcase_08 AC 34 ms
52,180 KB
testcase_09 AC 35 ms
52,572 KB
testcase_10 AC 34 ms
51,940 KB
testcase_11 AC 33 ms
52,864 KB
testcase_12 AC 34 ms
52,248 KB
testcase_13 AC 34 ms
52,884 KB
testcase_14 AC 34 ms
52,804 KB
testcase_15 AC 36 ms
52,000 KB
testcase_16 AC 36 ms
52,008 KB
testcase_17 AC 35 ms
52,736 KB
testcase_18 AC 35 ms
52,528 KB
testcase_19 AC 34 ms
51,948 KB
testcase_20 AC 35 ms
52,276 KB
testcase_21 AC 33 ms
52,556 KB
testcase_22 AC 35 ms
52,548 KB
testcase_23 AC 34 ms
51,760 KB
testcase_24 AC 32 ms
52,204 KB
testcase_25 AC 34 ms
52,276 KB
testcase_26 AC 34 ms
52,768 KB
testcase_27 AC 34 ms
53,360 KB
testcase_28 AC 34 ms
52,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,a = map(int,input().split())
a *= 100000000
x = list(map(int,input().split()))
z = sum(x)*100000000//n
if z == a:
    print("YES")
else:
    print("NO")
0