結果

問題 No.333 門松列を数え上げ
ユーザー Hachimori
提出日時 2016-03-06 12:05:05
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-24 14:41:22
合計ジャッジ時間 734 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
#coding:utf8

def read():
    return map(int, raw_input().split())


def work((A, B)):
    if A < B:
        print A - 1
    else:
        print 2000000000 - A


if __name__ == "__main__":
    work(read())
0