結果

問題 No.1860 Magnets
ユーザー MasKoaTSMasKoaTS
提出日時 2022-03-05 17:43:55
言語 PyPy3
(7.3.13)
結果
WA  
実行時間 -
コード長 62 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 87,124 KB
実行使用メモリ 71,652 KB
最終ジャッジ日時 2023-09-27 05:29:28
合計ジャッジ時間 3,574 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,384 KB
testcase_01 AC 62 ms
71,164 KB
testcase_02 AC 61 ms
71,556 KB
testcase_03 AC 62 ms
71,384 KB
testcase_04 AC 61 ms
71,264 KB
testcase_05 AC 66 ms
71,624 KB
testcase_06 AC 62 ms
71,136 KB
testcase_07 AC 61 ms
71,308 KB
testcase_08 AC 61 ms
71,492 KB
testcase_09 AC 62 ms
71,308 KB
testcase_10 AC 62 ms
71,164 KB
testcase_11 AC 61 ms
71,308 KB
testcase_12 AC 61 ms
71,164 KB
testcase_13 AC 62 ms
71,440 KB
testcase_14 AC 63 ms
71,272 KB
testcase_15 AC 62 ms
71,436 KB
testcase_16 AC 61 ms
71,428 KB
testcase_17 AC 63 ms
71,340 KB
testcase_18 AC 63 ms
71,384 KB
testcase_19 AC 61 ms
71,584 KB
testcase_20 AC 63 ms
71,280 KB
testcase_21 AC 62 ms
71,604 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 60 ms
71,272 KB
testcase_26 AC 60 ms
71,492 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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