結果

問題 No.1395 Less Sweet Alchemy
ユーザー marroncastlemarroncastle
提出日時 2021-02-14 21:23:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 158 bytes
コンパイル時間 227 ms
コンパイル使用メモリ 86,944 KB
実行使用メモリ 71,620 KB
最終ジャッジ日時 2023-09-29 14:24:36
合計ジャッジ時間 1,796 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,104 KB
testcase_01 AC 57 ms
71,388 KB
testcase_02 AC 59 ms
71,388 KB
testcase_03 AC 57 ms
71,248 KB
testcase_04 AC 58 ms
71,548 KB
testcase_05 AC 57 ms
71,392 KB
testcase_06 AC 57 ms
71,544 KB
testcase_07 AC 58 ms
71,364 KB
testcase_08 AC 58 ms
71,272 KB
testcase_09 AC 60 ms
71,104 KB
testcase_10 AC 59 ms
71,420 KB
testcase_11 AC 59 ms
71,388 KB
testcase_12 AC 57 ms
71,620 KB
testcase_13 AC 59 ms
71,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def check():
  N, X = map(int, input().split())
  C = list(map(int, input().split()))
  if X<min(C) or X>max(C):
    return 'No'
  return 'Yes'
print(check())
0