結果

問題 No.476 正しくない平均
ユーザー hirayuu_yc
提出日時 2023-10-02 09:17:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 231 ms
コンパイル使用メモリ 82,412 KB
実行使用メモリ 53,540 KB
最終ジャッジ日時 2024-07-26 13:36:52
合計ジャッジ時間 2,305 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

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