結果
問題 | No.1829 Möbius Tunnelling |
ユーザー |
👑 ![]() |
提出日時 | 2022-02-04 21:46:27 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 289 bytes |
コンパイル時間 | 280 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-06-11 11:40:33 |
合計ジャッジ時間 | 2,132 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 WA * 2 |
ソースコード
"""https://yukicoder.me/problems/no/1829"""N = int(input())a,b,c = map(int,input().split())a -= 1b -= 1c -= 1C = c + Nif C - a < N:if a < b:print ("No")else:print ("Yes")else:if b < a:print ("No")else:print ("Yes")