#6627. 【基础】买汽水
【基础】买汽水
Description
一瓶饮料n元钱,两个空瓶换一瓶,有m元最多可以喝几瓶 ?
Input Format
两个整数n,m(1<=n<m<=100000)
Output Format
最多可以喝到的瓶数
2 10
9
Source
递归
一瓶饮料n元钱,两个空瓶换一瓶,有m元最多可以喝几瓶 ?
两个整数n,m(1<=n<m<=100000)
最多可以喝到的瓶数
2 10
9
递归
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.