結果

問題 No.476 正しくない平均
ユーザー kohei2019kohei2019
提出日時 2022-01-27 06:43:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 86,800 KB
実行使用メモリ 71,372 KB
最終ジャッジ日時 2023-08-25 22:30:45
合計ジャッジ時間 3,117 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
71,256 KB
testcase_01 AC 60 ms
71,212 KB
testcase_02 AC 60 ms
71,112 KB
testcase_03 AC 60 ms
70,972 KB
testcase_04 AC 63 ms
71,372 KB
testcase_05 AC 61 ms
71,100 KB
testcase_06 AC 63 ms
71,296 KB
testcase_07 AC 62 ms
71,272 KB
testcase_08 AC 59 ms
70,960 KB
testcase_09 AC 60 ms
71,184 KB
testcase_10 AC 60 ms
71,272 KB
testcase_11 AC 61 ms
71,220 KB
testcase_12 AC 62 ms
71,120 KB
testcase_13 AC 62 ms
70,972 KB
testcase_14 AC 60 ms
70,800 KB
testcase_15 AC 60 ms
71,068 KB
testcase_16 AC 60 ms
71,120 KB
testcase_17 AC 61 ms
71,220 KB
testcase_18 AC 62 ms
71,232 KB
testcase_19 AC 64 ms
70,960 KB
testcase_20 AC 60 ms
71,064 KB
testcase_21 AC 61 ms
71,316 KB
testcase_22 AC 63 ms
70,968 KB
testcase_23 AC 65 ms
71,360 KB
testcase_24 AC 63 ms
70,796 KB
testcase_25 AC 63 ms
71,220 KB
testcase_26 AC 62 ms
71,256 KB
testcase_27 AC 63 ms
71,280 KB
testcase_28 AC 62 ms
70,956 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,a =map(int,input().split())
lsx = map(int,input().split())
ave = sum(lsx)/N
print('YES' if a == ave else 'NO')
0