結果
| 問題 | No.476 正しくない平均 |
| コンテスト | |
| ユーザー |
JunOnuma
|
| 提出日時 | 2017-05-17 12:25:51 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 128 ms / 2,000 ms |
| コード長 | 148 bytes |
| 記録 | |
| コンパイル時間 | 247 ms |
| コンパイル使用メモリ | 77,652 KB |
| 最終ジャッジ日時 | 2025-12-03 23:44:48 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 26 |
ソースコード
n,a = map(int, raw_input().split())
l = map(int, raw_input().split())
s = sum(l)
if s % n == 0 and s / n == a:
print 'YES'
else:
print 'NO'
JunOnuma