結果

問題 No.1860 Magnets
ユーザー 👑 KazunKazun
提出日時 2022-03-04 21:23:54
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 60 bytes
コンパイル時間 1,486 ms
コンパイル使用メモリ 86,512 KB
実行使用メモリ 71,172 KB
最終ジャッジ日時 2023-09-25 23:30:54
合計ジャッジ時間 4,156 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,144 KB
testcase_01 AC 68 ms
71,024 KB
testcase_02 AC 71 ms
70,976 KB
testcase_03 AC 70 ms
71,172 KB
testcase_04 AC 71 ms
71,004 KB
testcase_05 AC 67 ms
71,004 KB
testcase_06 AC 68 ms
71,164 KB
testcase_07 AC 69 ms
70,736 KB
testcase_08 AC 69 ms
70,868 KB
testcase_09 AC 68 ms
70,968 KB
testcase_10 AC 68 ms
71,060 KB
testcase_11 AC 68 ms
71,052 KB
testcase_12 AC 68 ms
71,048 KB
testcase_13 AC 68 ms
70,976 KB
testcase_14 AC 67 ms
71,064 KB
testcase_15 AC 67 ms
70,892 KB
testcase_16 AC 68 ms
71,092 KB
testcase_17 AC 69 ms
71,012 KB
testcase_18 AC 67 ms
70,736 KB
testcase_19 AC 69 ms
71,052 KB
testcase_20 AC 69 ms
70,876 KB
testcase_21 AC 69 ms
71,104 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 67 ms
71,048 KB
testcase_26 AC 70 ms
71,056 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())

X=A+B; Y=abs(A-B)
print(X+Y-1)
0