結果

問題 No.333 門松列を数え上げ
ユーザー gorugo30gorugo30
提出日時 2021-02-23 20:55:42
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 1,454 ms
コンパイル使用メモリ 81,444 KB
実行使用メモリ 53,308 KB
最終ジャッジ日時 2023-10-23 21:50:31
合計ジャッジ時間 2,250 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
53,256 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 37 ms
53,256 KB
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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