結果

問題 No.1395 Less Sweet Alchemy
ユーザー 👑 KazunKazun
提出日時 2021-02-14 21:59:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 71,452 KB
最終ジャッジ日時 2023-09-29 15:28:40
合計ジャッジ時間 1,845 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,376 KB
testcase_01 AC 63 ms
71,288 KB
testcase_02 AC 59 ms
71,164 KB
testcase_03 AC 59 ms
71,404 KB
testcase_04 AC 62 ms
71,368 KB
testcase_05 AC 58 ms
71,016 KB
testcase_06 AC 63 ms
71,040 KB
testcase_07 AC 60 ms
71,452 KB
testcase_08 AC 60 ms
71,140 KB
testcase_09 AC 61 ms
71,132 KB
testcase_10 AC 60 ms
71,308 KB
testcase_11 AC 61 ms
71,044 KB
testcase_12 AC 62 ms
71,192 KB
testcase_13 AC 59 ms
71,388 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X=map(int,input().split())
C=list(map(int,input().split()))
print("Yes" if min(C)<X<max(C) or (X in C) else "No")
0