結果

問題 No.476 正しくない平均
ユーザー gim
提出日時 2017-06-28 12:39:28
言語 Python2
(2.7.18)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 146 bytes
コンパイル時間 248 ms
コンパイル使用メモリ 6,952 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-04 14:44:38
合計ジャッジ時間 1,152 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

n=map(int, raw_input().split())
x=map(int, raw_input().split())

ave=float(sum(x))/n[0]
if ave==float(n[1]):
    print 'YES'
else:
    print 'NO'
0