結果

問題 No.1395 Less Sweet Alchemy
ユーザー chineristACchineristAC
提出日時 2021-02-14 21:39:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 154 bytes
コンパイル時間 801 ms
コンパイル使用メモリ 86,968 KB
実行使用メモリ 71,548 KB
最終ジャッジ日時 2023-09-29 14:54:54
合計ジャッジ時間 2,556 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,312 KB
testcase_01 AC 68 ms
71,184 KB
testcase_02 AC 69 ms
71,548 KB
testcase_03 AC 70 ms
71,204 KB
testcase_04 AC 71 ms
71,236 KB
testcase_05 AC 72 ms
71,264 KB
testcase_06 AC 72 ms
71,224 KB
testcase_07 AC 68 ms
71,212 KB
testcase_08 AC 70 ms
71,208 KB
testcase_09 AC 69 ms
71,408 KB
testcase_10 AC 70 ms
71,216 KB
testcase_11 AC 71 ms
71,324 KB
testcase_12 AC 70 ms
71,056 KB
testcase_13 AC 70 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,X = map(int,input().split())
C = list(map(int,input().split()))

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