結果

問題 No.1395 Less Sweet Alchemy
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2021-02-14 21:22:00
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 197 bytes
コンパイル時間 219 ms
コンパイル使用メモリ 86,936 KB
実行使用メモリ 71,580 KB
最終ジャッジ日時 2023-09-29 14:22:13
合計ジャッジ時間 1,759 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,360 KB
testcase_01 AC 59 ms
71,504 KB
testcase_02 AC 59 ms
71,380 KB
testcase_03 AC 59 ms
71,532 KB
testcase_04 AC 60 ms
71,580 KB
testcase_05 AC 60 ms
71,312 KB
testcase_06 AC 61 ms
71,348 KB
testcase_07 AC 60 ms
71,364 KB
testcase_08 AC 59 ms
71,272 KB
testcase_09 AC 59 ms
71,200 KB
testcase_10 AC 58 ms
71,492 KB
testcase_11 AC 63 ms
71,384 KB
testcase_12 AC 61 ms
71,368 KB
testcase_13 AC 62 ms
71,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

"""

import sys
from sys import stdin

N,X = map(int,stdin.readline().split())

C = list(map(int,stdin.readline().split()))

if max(C) >= X >= min(C):
    print ("Yes")
else:
    print ("No")
0