結果

問題 No.1829 Möbius Tunnelling
ユーザー bayashi-clbayashi-cl
提出日時 2022-02-05 12:00:40
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 610 bytes
コンパイル時間 94 ms
コンパイル使用メモリ 10,788 KB
実行使用メモリ 9,884 KB
最終ジャッジ日時 2023-09-02 06:31:45
合計ジャッジ時間 2,149 ms
ジャッジサーバーID
(参考情報)
judge13 / judge16
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
9,740 KB
testcase_01 AC 32 ms
9,736 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 31 ms
9,828 KB
testcase_05 WA -
testcase_06 AC 31 ms
9,704 KB
testcase_07 AC 31 ms
9,824 KB
testcase_08 WA -
testcase_09 AC 32 ms
9,732 KB
testcase_10 AC 32 ms
9,768 KB
testcase_11 WA -
testcase_12 AC 32 ms
9,736 KB
testcase_13 WA -
testcase_14 AC 32 ms
9,800 KB
testcase_15 WA -
testcase_16 AC 31 ms
9,860 KB
testcase_17 AC 31 ms
9,736 KB
testcase_18 WA -
testcase_19 AC 31 ms
9,792 KB
testcase_20 AC 32 ms
9,780 KB
testcase_21 AC 31 ms
9,860 KB
testcase_22 AC 32 ms
9,708 KB
testcase_23 AC 31 ms
9,664 KB
testcase_24 AC 31 ms
9,788 KB
testcase_25 AC 32 ms
9,716 KB
testcase_26 AC 32 ms
9,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import functools
import sys
import typing
from typing import Callable, Dict, List, Set, Tuple


sys.setrecursionlimit(10 ** 6)
sinput: Callable[..., str] = sys.stdin.readline
debug = functools.partial(print, file=sys.stderr)
MOD: int = 998244353
INF: float = float("Inf")
IINF: int = sys.maxsize // 2


def main() -> None:
    _ = int(input())
    a, b, c = map(int, input().split())

    if a == c:
        print("No")
    elif b == c:
        print("Yes")
    elif a < b < c:
        print("Yes")
    elif c < b < a:
        print("Yes")
    else:
        print("No")


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