結果

問題 No.1829 Möbius Tunnelling
ユーザー Aphananthe
提出日時 2022-02-04 21:37:30
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 268 bytes
コンパイル時間 170 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-11 11:35:01
合計ジャッジ時間 1,673 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys


def input():
    return sys.stdin.readline()[:-1]

N = input()
a, b, c = map(int, input().split())

if c == a or c == b:
    print('No')
elif c < a and c < b and a < b:
    print('No')
elif c > a and c > b and a > b:
    print('No')
else:
    print('Yes')
0