結果

問題 No.1860 Magnets
ユーザー ikomaikoma
提出日時 2022-03-04 21:23:55
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 67 bytes
コンパイル時間 407 ms
コンパイル使用メモリ 86,904 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-09-25 23:31:32
合計ジャッジ時間 3,907 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,268 KB
testcase_01 AC 75 ms
71,488 KB
testcase_02 AC 73 ms
71,356 KB
testcase_03 AC 73 ms
71,440 KB
testcase_04 AC 74 ms
71,040 KB
testcase_05 AC 72 ms
71,148 KB
testcase_06 AC 74 ms
71,196 KB
testcase_07 AC 75 ms
71,104 KB
testcase_08 AC 74 ms
71,456 KB
testcase_09 AC 72 ms
71,384 KB
testcase_10 AC 72 ms
71,104 KB
testcase_11 AC 74 ms
71,108 KB
testcase_12 AC 74 ms
71,200 KB
testcase_13 AC 73 ms
71,156 KB
testcase_14 AC 76 ms
71,408 KB
testcase_15 AC 73 ms
71,108 KB
testcase_16 AC 75 ms
71,252 KB
testcase_17 AC 78 ms
71,104 KB
testcase_18 AC 75 ms
71,380 KB
testcase_19 AC 74 ms
71,168 KB
testcase_20 AC 74 ms
71,180 KB
testcase_21 AC 73 ms
71,196 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 72 ms
71,192 KB
testcase_26 AC 73 ms
71,448 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

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