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 1795. Husband in a Shop

If you have WA 3
Posted by Moonstone [Samara SAU] 17 Oct 2010 18:00
Try this test case:

1
1 of vodka
1
2 of vodka

Answer = 1
Re: If you have WA 3
Posted by Evgeniy++ 19 Oct 2010 01:26
What about WA 8?
Re: If you have WA 3
Posted by Artem Khizha [DNU] 24 Oct 2010 15:25
Thank you!
I was being mad about this WA during the contest. :)
Re: If you have WA 3
Posted by SpartakusMd 10 Mar 2012 21:59
Why answer is 1? He wants more than is in the shop, so he calls his wife and asks her. This means that the answer is 2. Or I misunderstood?
Re: If you have WA 3
Posted by NumbMoon 2 Jan 2017 21:09
Because he is letting our hero go in front of him, which is the main objective.