結果

問題 No.1395 Less Sweet Alchemy
ユーザー asumo0729asumo0729
提出日時 2021-02-28 19:03:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 298 bytes
コンパイル時間 311 ms
コンパイル使用メモリ 82,296 KB
実行使用メモリ 53,916 KB
最終ジャッジ日時 2024-04-12 10:11:54
合計ジャッジ時間 1,851 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,916 KB
testcase_01 AC 36 ms
53,016 KB
testcase_02 AC 36 ms
52,928 KB
testcase_03 AC 37 ms
52,776 KB
testcase_04 AC 36 ms
52,892 KB
testcase_05 AC 37 ms
53,656 KB
testcase_06 AC 40 ms
52,396 KB
testcase_07 AC 36 ms
52,892 KB
testcase_08 AC 36 ms
52,652 KB
testcase_09 AC 35 ms
52,192 KB
testcase_10 AC 37 ms
52,468 KB
testcase_11 AC 36 ms
52,996 KB
testcase_12 AC 38 ms
52,072 KB
testcase_13 AC 36 ms
53,012 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
import math
stdin=sys.stdin

ip=lambda: int(sp())
fp=lambda: float(sp())
lp=lambda:list(map(int,stdin.readline().split()))
sp=lambda:stdin.readline().rstrip()
Yp=lambda:print('Yes')
Np=lambda:print('No')

n, x = lp()
c = lp()
a = min(c)
b = max(c)
if a <= x <= b:
    Yp()
else:
    Np()
0