結果
| 問題 |
No.1829 Möbius Tunnelling
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-04 21:49:36 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 69 ms / 2,000 ms |
| コード長 | 231 bytes |
| コンパイル時間 | 386 ms |
| コンパイル使用メモリ | 82,304 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2024-06-11 11:42:34 |
| 合計ジャッジ時間 | 2,187 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")