結果

問題 No.1057 素敵な日
ユーザー tomoyaatcodertomoyaatcoder
提出日時 2020-07-25 18:47:42
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 87 bytes
コンパイル時間 402 ms
コンパイル使用メモリ 86,744 KB
実行使用メモリ 71,144 KB
最終ジャッジ日時 2023-09-09 19:57:43
合計ジャッジ時間 1,697 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
70,888 KB
testcase_01 AC 70 ms
71,144 KB
testcase_02 AC 71 ms
70,884 KB
testcase_03 AC 73 ms
71,124 KB
testcase_04 AC 70 ms
70,808 KB
testcase_05 AC 72 ms
71,108 KB
testcase_06 AC 72 ms
70,876 KB
testcase_07 AC 74 ms
70,704 KB
testcase_08 AC 71 ms
70,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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