結果

問題 No.476 正しくない平均
ユーザー NoaSaberNoaSaber
提出日時 2021-04-17 15:25:58
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 69 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 289 ms
コンパイル使用メモリ 87,064 KB
実行使用メモリ 71,672 KB
最終ジャッジ日時 2023-09-17 00:38:25
合計ジャッジ時間 3,308 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,296 KB
testcase_01 AC 67 ms
71,296 KB
testcase_02 AC 65 ms
71,596 KB
testcase_03 AC 65 ms
71,504 KB
testcase_04 AC 64 ms
71,380 KB
testcase_05 AC 64 ms
71,344 KB
testcase_06 AC 66 ms
71,584 KB
testcase_07 AC 66 ms
71,132 KB
testcase_08 AC 67 ms
71,644 KB
testcase_09 AC 64 ms
71,292 KB
testcase_10 AC 64 ms
71,472 KB
testcase_11 AC 63 ms
71,156 KB
testcase_12 AC 62 ms
71,364 KB
testcase_13 AC 65 ms
71,392 KB
testcase_14 AC 66 ms
71,340 KB
testcase_15 AC 67 ms
71,672 KB
testcase_16 AC 65 ms
71,412 KB
testcase_17 AC 67 ms
71,392 KB
testcase_18 AC 64 ms
71,464 KB
testcase_19 AC 68 ms
71,140 KB
testcase_20 AC 67 ms
71,480 KB
testcase_21 AC 66 ms
71,320 KB
testcase_22 AC 66 ms
71,136 KB
testcase_23 AC 65 ms
71,292 KB
testcase_24 AC 68 ms
71,392 KB
testcase_25 AC 67 ms
71,372 KB
testcase_26 AC 66 ms
71,416 KB
testcase_27 AC 66 ms
71,600 KB
testcase_28 AC 68 ms
71,460 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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