結果

問題 No.1860 Magnets
ユーザー titan23titan23
提出日時 2022-06-28 23:15:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 247 ms
コンパイル使用メモリ 82,372 KB
実行使用メモリ 53,584 KB
最終ジャッジ日時 2024-05-01 13:36:16
合計ジャッジ時間 2,333 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
52,360 KB
testcase_01 AC 37 ms
52,028 KB
testcase_02 AC 37 ms
52,168 KB
testcase_03 AC 36 ms
52,568 KB
testcase_04 AC 37 ms
52,336 KB
testcase_05 AC 37 ms
52,548 KB
testcase_06 AC 36 ms
53,088 KB
testcase_07 AC 36 ms
52,480 KB
testcase_08 AC 36 ms
52,688 KB
testcase_09 AC 36 ms
52,164 KB
testcase_10 AC 36 ms
52,756 KB
testcase_11 AC 36 ms
52,484 KB
testcase_12 AC 37 ms
52,020 KB
testcase_13 AC 36 ms
52,556 KB
testcase_14 AC 36 ms
52,692 KB
testcase_15 AC 36 ms
51,884 KB
testcase_16 AC 36 ms
53,572 KB
testcase_17 AC 36 ms
53,008 KB
testcase_18 AC 36 ms
53,432 KB
testcase_19 AC 36 ms
51,756 KB
testcase_20 AC 37 ms
52,596 KB
testcase_21 AC 35 ms
52,640 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 38 ms
52,692 KB
testcase_26 AC 37 ms
52,080 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

#  -----------------------  #

a, b = map(int, input().split())
print(2*min(a,b) + 2*(max(a,b)-min(a,b)) - 1)
0