結果

問題 No.476 正しくない平均
ユーザー mayoko_
提出日時 2017-04-11 16:17:51
言語 Python2
(2.7.18)
結果
AC  
実行時間 10 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 58 ms
コンパイル使用メモリ 6,944 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-18 09:03:28
合計ジャッジ時間 1,079 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

N, A = map(int, raw_input().split())
X = map(int, raw_input().split())
if (sum(X) == N*A):
	print "YES"
else:
	print "NO"
0