結果

問題 No.1829 Möbius Tunnelling
ユーザー 👑 SPD_9X2SPD_9X2
提出日時 2022-02-04 21:46:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 289 bytes
コンパイル時間 488 ms
コンパイル使用メモリ 87,236 KB
実行使用メモリ 71,612 KB
最終ジャッジ日時 2023-09-02 04:40:55
合計ジャッジ時間 3,366 ms
ジャッジサーバーID
(参考情報)
judge16 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 70 ms
71,064 KB
testcase_02 AC 70 ms
71,612 KB
testcase_03 AC 70 ms
71,336 KB
testcase_04 AC 70 ms
71,400 KB
testcase_05 AC 71 ms
71,196 KB
testcase_06 AC 71 ms
71,348 KB
testcase_07 AC 70 ms
71,464 KB
testcase_08 AC 70 ms
71,292 KB
testcase_09 AC 70 ms
71,580 KB
testcase_10 AC 70 ms
71,224 KB
testcase_11 AC 70 ms
71,460 KB
testcase_12 AC 71 ms
71,072 KB
testcase_13 AC 71 ms
71,448 KB
testcase_14 AC 72 ms
71,400 KB
testcase_15 AC 72 ms
71,464 KB
testcase_16 AC 72 ms
71,348 KB
testcase_17 AC 70 ms
71,228 KB
testcase_18 AC 71 ms
71,384 KB
testcase_19 AC 70 ms
71,072 KB
testcase_20 WA -
testcase_21 AC 71 ms
71,224 KB
testcase_22 AC 72 ms
71,468 KB
testcase_23 AC 71 ms
71,336 KB
testcase_24 AC 71 ms
71,432 KB
testcase_25 AC 71 ms
71,472 KB
testcase_26 AC 71 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

"""

https://yukicoder.me/problems/no/1829

"""

N = int(input())

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

a -= 1
b -= 1
c -= 1

C = c + N

if C - a < N:
    if a < b:
        print ("No")
    else:
        print ("Yes")
else:
    if b < a:
        print ("No")
    else:
        print ("Yes")
0