|
|
back to boardThe 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! My optimized Brute-Force runs 0.015 Sec , and is also VERY VERY fast against your data... Backtracking is still acceptable Some new tests were added. The problem was rejudged. About 130 solutions got WA and TL. |
|
|