結果
| 問題 |
No.1829 Möbius Tunnelling
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-03-14 10:35:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 646 ms |
| コンパイル使用メモリ | 82,500 KB |
| 実行使用メモリ | 53,960 KB |
| 最終ジャッジ日時 | 2024-09-19 20:32:33 |
| 合計ジャッジ時間 | 1,934 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 10 WA * 14 |
ソースコード
n = int(input())
a,b,c = map(int,input().split())
if a < b and b < c:
print('Yes')
elif a < c and c < b and (n-c) <= (a-b):
print('Yes')
else:
print('No')