結果

問題 No.353 ヘイトプラス
ユーザー JunOnumaJunOnuma
提出日時 2017-06-06 11:19:23
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 168 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 7,124 KB
実行使用メモリ 9,916 KB
最終ジャッジ日時 2023-10-23 17:47:27
合計ジャッジ時間 1,809 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

a,b = map(int, raw_input().split())
if b > a:
    t = a
    a = b
    b = t
for i in range(a,a*2):
    if i - a == b:
        print i
        break
else:
    print a*2
0