結果

問題 No.476 正しくない平均
ユーザー NyanmaruP78
提出日時 2017-02-19 00:02:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 2,000 ms
コード長 254 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-12-30 04:15:32
合計ジャッジ時間 2,169 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

diff #

#coding:utf-8

get = input()
get = get.split(" ")
get = list(map(int,get))
get1 = input()
get1 = get1.split(" ")
get1 = list(map(int,get1))

ans = get[1] #5
sum_list = sum(get1) #15

if((sum_list / get[0]) == ans):
    print("YES")
else:
    print("NO")
0