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

Victor Barinov (TNU) To Admins: Bad Tests (+) [5] // Problem 1326. Bottle Taps 1 Oct 2005 16:08
The set of tests is not so good, because optimized backtracing can get AC in 0.015 sec and 129 Kb on Pascal. Try to add more good tests. I think there is no this test:

20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


This simplest test will be bad for some good optimazed brute forces...  Try spend little time to find some "good".

PS To Vladimir Yakovlev, give me please your e-mail, I can say more about this problem but not in the forum.

Thanks!
Vladimir Yakovlev (USU) See e-mail in my profile (-) [4] // Problem 1326. Bottle Taps 2 Oct 2005 01:02
ahyangyi_newid Re: See e-mail in my profile (-) [3] // Problem 1326. Bottle Taps 5 Apr 2006 13:28
My optimized Brute-Force runs 0.015 Sec , and is also VERY VERY fast against your data...
Victor Barinov (TNU) Try to test your program on different random tests (-) [2] // Problem 1326. Bottle Taps 5 Apr 2006 15:18
Backtracking is still acceptable
Some new tests were added. The problem was rejudged. About 130 solutions got WA and TL.