#D4887. RabbitLunch
RabbitLunch
RabbitLunch
Example
Input
2 3 1 3 1 0
Output
2
inputFormat
Input
2 3 1 3 1 0
outputFormat
Output
2
样例
2 3 1 3 1 0
2
Example
Input
2 3 1 3 1 0
Output
2
Input
2 3 1 3 1 0
Output
2
2 3 1 3 1 0
2
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.