結果
| 問題 |
No.1829 Möbius Tunnelling
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-04 22:12:01 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 203 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 82,056 KB |
| 実行使用メモリ | 53,236 KB |
| 最終ジャッジ日時 | 2024-06-11 11:57:09 |
| 合計ジャッジ時間 | 1,898 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
N = int(input())
a, b, c = map(int, input().split())
if a<b:
if a+1 <= c:
print("Yes")
else:
print("No")
else:
if a-1 >= c:
print("Yes")
else:
print("No")