結果

問題 No.1860 Magnets
ユーザー titan23
提出日時 2022-06-28 23:15:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 168 bytes
コンパイル時間 211 ms
コンパイル使用メモリ 81,896 KB
実行使用メモリ 53,680 KB
最終ジャッジ日時 2024-11-21 18:18:42
合計ジャッジ時間 2,248 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = lambda: sys.stdin.readline().rstrip()

#  -----------------------  #

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