結果

問題 No.1860 Magnets
ユーザー MasKoaTSMasKoaTS
提出日時 2022-03-05 17:47:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 68 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 71,632 KB
最終ジャッジ日時 2023-09-27 05:33:56
合計ジャッジ時間 3,396 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,136 KB
testcase_01 AC 62 ms
71,328 KB
testcase_02 AC 64 ms
71,420 KB
testcase_03 AC 64 ms
71,564 KB
testcase_04 AC 62 ms
71,400 KB
testcase_05 AC 62 ms
71,460 KB
testcase_06 AC 62 ms
71,476 KB
testcase_07 AC 60 ms
71,508 KB
testcase_08 AC 61 ms
71,412 KB
testcase_09 AC 63 ms
71,436 KB
testcase_10 AC 62 ms
71,468 KB
testcase_11 AC 61 ms
71,584 KB
testcase_12 AC 61 ms
71,456 KB
testcase_13 AC 62 ms
71,332 KB
testcase_14 AC 62 ms
71,436 KB
testcase_15 AC 64 ms
71,632 KB
testcase_16 AC 62 ms
71,336 KB
testcase_17 AC 62 ms
71,452 KB
testcase_18 AC 60 ms
71,308 KB
testcase_19 AC 61 ms
71,480 KB
testcase_20 AC 60 ms
71,588 KB
testcase_21 AC 61 ms
71,524 KB
testcase_22 AC 62 ms
71,416 KB
testcase_23 AC 61 ms
71,488 KB
testcase_24 AC 61 ms
71,472 KB
testcase_25 AC 64 ms
71,136 KB
testcase_26 AC 67 ms
71,320 KB
testcase_27 AC 64 ms
71,316 KB
testcase_28 AC 63 ms
71,616 KB
testcase_29 AC 63 ms
71,436 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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