結果

問題 No.1057 素敵な日
ユーザー Shoya SATO
提出日時 2020-10-02 11:52:14
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 26 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 250 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,496 KB
最終ジャッジ日時 2024-07-08 04:55:18
合計ジャッジ時間 1,002 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
c=0

while a>=1 and b>=1:
    a-=1
    b-=1
    c+=2 

if a==0 and b==0:
    c-=1


print(c)
0