結果

問題 No.1395 Less Sweet Alchemy
ユーザー 👑 tamatotamato
提出日時 2021-02-14 21:21:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 288 bytes
コンパイル時間 548 ms
コンパイル使用メモリ 87,428 KB
実行使用メモリ 71,980 KB
最終ジャッジ日時 2023-09-29 14:20:52
合計ジャッジ時間 2,488 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,980 KB
testcase_01 AC 72 ms
71,648 KB
testcase_02 AC 72 ms
71,640 KB
testcase_03 AC 72 ms
71,548 KB
testcase_04 AC 71 ms
71,784 KB
testcase_05 AC 73 ms
71,916 KB
testcase_06 AC 74 ms
71,644 KB
testcase_07 AC 71 ms
71,864 KB
testcase_08 AC 72 ms
71,488 KB
testcase_09 AC 73 ms
71,844 KB
testcase_10 AC 71 ms
71,844 KB
testcase_11 AC 72 ms
71,720 KB
testcase_12 AC 71 ms
71,508 KB
testcase_13 AC 71 ms
71,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

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


if __name__ == '__main__':
    main()
0