結果

問題 No.1829 Möbius Tunnelling
ユーザー shinichishinichi
提出日時 2022-02-04 22:06:05
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 331 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 71,688 KB
最終ジャッジ日時 2023-09-02 04:54:42
合計ジャッジ時間 3,474 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,404 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 71 ms
71,032 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 71 ms
71,544 KB
testcase_08 WA -
testcase_09 AC 73 ms
71,120 KB
testcase_10 AC 73 ms
71,116 KB
testcase_11 WA -
testcase_12 AC 71 ms
71,332 KB
testcase_13 WA -
testcase_14 AC 70 ms
71,360 KB
testcase_15 WA -
testcase_16 AC 73 ms
71,408 KB
testcase_17 AC 71 ms
71,152 KB
testcase_18 WA -
testcase_19 AC 73 ms
71,256 KB
testcase_20 AC 72 ms
71,344 KB
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 73 ms
71,480 KB
testcase_24 AC 72 ms
71,404 KB
testcase_25 AC 72 ms
71,052 KB
testcase_26 AC 73 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A, B, C = map(int, input().split())
d = [A, B, C]
d.sort()
if A == C or B == C:
    exit(print("No"))
if C < A < B or C > A > B or B > C > A or B < C < A:
    exit(print("No"))
print("Yes")
0