結果
問題 |
No.1829 Möbius Tunnelling
|
ユーザー |
|
提出日時 | 2022-03-14 10:44:53 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 221 ms |
コンパイル使用メモリ | 82,640 KB |
実行使用メモリ | 53,220 KB |
最終ジャッジ日時 | 2024-09-19 20:40:21 |
合計ジャッジ時間 | 2,107 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 WA * 7 |
ソースコード
n = int(input()) a,b,c = map(int,input().split()) if a == c: print('No') elif b < a: if (a-b) <= (n-c): print('Yes') else: print('No') elif a < b: if (n-c) <= (b-a): print('Yes') else: print('No')