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 1326. Bottle Taps

Loky_Yuri [USTU Frogs] Some tests [1] // Problem 1326. Bottle Taps 27 Jul 2009 21:10
These two tests helped we find my bugs.

Test
2
1
3
0
2 1 2
The answer is 4.

Test
3
10
20
30
1
29 3 1 2 3
2 1 2
The answer is 29.

Hope it will help you too.
Xkev Re: Some tests // Problem 1326. Bottle Taps 1 Nov 2022 11:08
Indeed helpful. You may buy more taps than you need.