結果

問題 No.1829 Möbius Tunnelling
ユーザー lam6er
提出日時 2025-03-26 15:51:11
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 222 ms
コンパイル使用メモリ 82,240 KB
実行使用メモリ 53,680 KB
最終ジャッジ日時 2025-03-26 15:52:03
合計ジャッジ時間 2,241 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

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

required_c = N + 1 - a
if c == required_c and b != a and b != required_c:
    print("Yes")
else:
    print("No")
0