結果

問題 No.333 門松列を数え上げ
ユーザー TadaakiTadaaki
提出日時 2016-02-03 11:53:50
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 1,151 ms
コンパイル使用メモリ 77,396 KB
実行使用メモリ 76,160 KB
最終ジャッジ日時 2023-10-21 18:48:49
合計ジャッジ時間 2,542 ms
ジャッジサーバーID
(参考情報)
judge10 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#KADOMATSU

# coding: utf-8

s=[]
s=map(int,raw_input().split())

A=int(s[0])
B=int(s[1])

if A>B:
 print 2*10**9-A
else: #A<B
 print B-2
0