結果

問題 No.1829 Möbius Tunnelling
ユーザー tombo314
提出日時 2022-02-04 22:09:46
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 204 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-06-11 11:56:32
合計ジャッジ時間 1,862 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 20 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
a, b, c = map(int, input().split())

if a<b:
    if N-b+1 < c:
        print("Yes")
    else:
        print("No")
else:
    if a-1 >= c:
        print("Yes")
    else:
        print("No")
0