ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1409. Two Gangsters

there's always one common can
Posted by Zero 3 Aug 2011 10:30
why output b-1 and a-1 you will get an AC?
because there's always one common can
in this way there are a+b-1 cans in total
then Larry has a+b-1-a=b-1 cans left
so does Harry

the statement is very unclear....
Re: there's always one common can
Posted by Dior 4 May 2014 10:11
I have the same problem!