結果
| 問題 | No.1829 Möbius Tunnelling |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-04 21:49:36 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 63 ms / 2,000 ms |
| + 408µs | |
| コード長 | 231 bytes |
| 記録 | |
| コンパイル時間 | 242 ms |
| コンパイル使用メモリ | 95,848 KB |
| 実行使用メモリ | 79,104 KB |
| 最終ジャッジ日時 | 2026-07-25 11:24:56 |
| 合計ジャッジ時間 | 3,436 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
n = int(input())
a,b,c = map(int,input().split())
if a == c:
print("No")
exit()
if b == c:
print("Yes")
exit()
if a < b and a < c:
print("Yes")
elif c < b < a or b < c < a:
print("Yes")
else:
print("No")