結果
問題 | No.1861 Required Number |
ユーザー |
|
提出日時 | 2022-03-04 22:10:03 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 110 bytes |
コンパイル時間 | 155 ms |
コンパイル使用メモリ | 82,104 KB |
実行使用メモリ | 53,828 KB |
最終ジャッジ日時 | 2024-07-18 22:57:12 |
合計ジャッジ時間 | 3,655 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 |
other | WA * 46 |
ソースコード
A,B = map(int,input().split())if A == B:print(2 * A)else:ans = max(2*max(A,B) -1,0)print(ans)