結果

問題 No.1057 素敵な日
ユーザー otsunekootsuneko
提出日時 2021-05-14 10:19:12
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 39 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 82,356 KB
実行使用メモリ 53,056 KB
最終ジャッジ日時 2024-04-09 02:21:08
合計ジャッジ時間 1,153 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 35 ms
53,056 KB
testcase_01 AC 39 ms
52,696 KB
testcase_02 AC 36 ms
52,696 KB
testcase_03 AC 35 ms
52,512 KB
testcase_04 AC 35 ms
51,824 KB
testcase_05 AC 35 ms
52,300 KB
testcase_06 AC 35 ms
52,416 KB
testcase_07 AC 34 ms
52,920 KB
testcase_08 AC 36 ms
52,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B = map(int,input().split())
if A == B:
    print(A*2-1)
else:
    print(min(A,B)*2)
0