結果

問題 No.1860 Magnets
ユーザー MtSakaMtSaka
提出日時 2021-11-21 22:58:54
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 61 bytes
コンパイル時間 1,529 ms
コンパイル使用メモリ 77,796 KB
実行使用メモリ 76,664 KB
最終ジャッジ日時 2023-09-25 20:41:53
合計ジャッジ時間 5,198 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
76,464 KB
testcase_01 AC 75 ms
76,392 KB
testcase_02 AC 76 ms
76,468 KB
testcase_03 AC 75 ms
76,212 KB
testcase_04 AC 75 ms
76,336 KB
testcase_05 AC 75 ms
76,472 KB
testcase_06 AC 74 ms
76,312 KB
testcase_07 AC 75 ms
76,616 KB
testcase_08 AC 74 ms
76,360 KB
testcase_09 AC 76 ms
76,664 KB
testcase_10 AC 73 ms
76,364 KB
testcase_11 AC 75 ms
76,452 KB
testcase_12 AC 75 ms
76,228 KB
testcase_13 AC 75 ms
76,236 KB
testcase_14 AC 75 ms
76,344 KB
testcase_15 AC 75 ms
76,216 KB
testcase_16 AC 77 ms
76,404 KB
testcase_17 AC 74 ms
76,456 KB
testcase_18 AC 74 ms
76,304 KB
testcase_19 AC 74 ms
76,320 KB
testcase_20 AC 74 ms
76,448 KB
testcase_21 AC 74 ms
76,224 KB
testcase_22 AC 76 ms
76,468 KB
testcase_23 AC 74 ms
76,448 KB
testcase_24 AC 74 ms
76,228 KB
testcase_25 AC 76 ms
76,308 KB
testcase_26 AC 75 ms
76,584 KB
testcase_27 AC 75 ms
76,472 KB
testcase_28 AC 76 ms
76,388 KB
testcase_29 AC 75 ms
76,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,raw_input().split())
print(a+b+max(0,abs(a-b)-1))
0