結果

問題 No.333 門松列を数え上げ
ユーザー steek79steek79
提出日時 2016-01-15 22:32:50
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 113 bytes
コンパイル時間 465 ms
コンパイル使用メモリ 7,092 KB
実行使用メモリ 6,432 KB
最終ジャッジ日時 2023-10-19 23:12:17
合計ジャッジ時間 1,021 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

M = 2000000000

if A < B:
    ans = A - 1
else:
    ans = M - A

print ans
0