結果

問題 No.333 門松列を数え上げ
ユーザー gorugo30
提出日時 2021-02-23 20:55:57
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 144 ms
コンパイル使用メモリ 82,016 KB
実行使用メモリ 53,300 KB
最終ジャッジ日時 2024-09-22 15:14:50
合計ジャッジ時間 1,068 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

A, B = map(int, input().split())
if A < B:
    print(A - 1)
else:
    print(2 * 10 ** 9 - A)
0