結果

問題 No.333 門松列を数え上げ
コンテスト
ユーザー
提出日時 2016-01-15 22:40:47
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 229 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 124 ms
コンパイル使用メモリ 77,592 KB
最終ジャッジ日時 2025-12-03 19:01:42
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

abc,de = map(int,raw_input().split(" "))
if abc<de:
  if de==2000000000:
    print "0"
  else:
    print "1"
elif de==2000000000:
  print "0"
elif de==1999999999 and abc==2000000000:
  print "0"
else:
  print 2000000000 - de - 1
0