結果

問題 No.333 門松列を数え上げ
ユーザー na-shna-sh
提出日時 2019-07-16 13:53:44
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
WA  
実行時間 -
コード長 93 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 10,536 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-08-20 12:33:41
合計ジャッジ時間 872 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

A, B = map(int, input().split())

if A < B:
    print(B - 2)
else:
    print(2000000000 - A)
0