結果
| 問題 |
No.1395 Less Sweet Alchemy
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-23 05:48:27 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 171 bytes |
| コンパイル時間 | 310 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-11-07 05:48:48 |
| 合計ジャッジ時間 | 1,656 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 |
ソースコード
n, x = map(int, input().split())
clst = list(map(int, input().split()))
min_c = min(clst)
max_c = max(clst)
if min_c <= x <= max_c:
print("Yes")
else:
print("No")