結果

問題 No.353 ヘイトプラス
ユーザー g-tetsuyag-tetsuya
提出日時 2016-05-22 19:49:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 178 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 21,376 KB
最終ジャッジ日時 2024-04-16 06:50:18
合計ジャッジ時間 4,569 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

A, B = map(int, input().split())

max_n = max(A, B)
min_n = min(A, B)

for n in reversed(range(max_n, 2 * max_n + 1)):
    if n - min_n == max_n:
        print(n)
        exit(0)
0