結果

問題 No.333 門松列を数え上げ
ユーザー 310icecrystal310icecrystal
提出日時 2023-05-13 02:28:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 95 bytes
コンパイル時間 1,195 ms
コンパイル使用メモリ 87,080 KB
実行使用メモリ 71,476 KB
最終ジャッジ日時 2023-08-19 07:51:38
合計ジャッジ時間 3,282 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
71,476 KB
testcase_01 AC 58 ms
71,216 KB
testcase_02 AC 57 ms
71,228 KB
testcase_03 AC 56 ms
71,236 KB
testcase_04 AC 60 ms
71,076 KB
testcase_05 AC 60 ms
71,076 KB
testcase_06 AC 60 ms
71,384 KB
testcase_07 AC 58 ms
71,056 KB
testcase_08 AC 65 ms
71,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

M = 2 * (10**9)
if A > B:
    print(M-B-1)
else:
    print(B-2)
0