結果

問題 No.333 門松列を数え上げ
ユーザー Tadaaki
提出日時 2016-02-03 11:53:14
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 138 bytes
コンパイル時間 299 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-09-21 20:07:18
合計ジャッジ時間 696 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4 WA * 3
権限があれば一括ダウンロードができます

ソースコード

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