Weak tests
Мy very crazy program passed 19 Tests and get TLE 20. I may be wrong, but I think, that the first 19 tests are weak. My program can't passed so many tests with bug in algorithm.
My be it is needed to check this tests and emulate EVERY possible and impossible situations.
Re: Weak tests
Your solution didn't pass so tests are OK. Tests are weak if your wrong solution passes all of them.
Re: Weak tests
I wrote bad solution and get AC at 19!!! tests.
I use DP and DFS.
It is very strange, that this bad solition passed so many tests...
Re: Weak tests
Послано
Sevenk 3 ноя 2009 19:09
Maybe the first 19 tests are some small tests that some programs go wrong at it.
Re: Weak tests
It is very strange...
Re: Weak tests
Послано
svr 3 ноя 2009 21:23
1741 is median of contest.
Halph of problems are harder hailpf are simpler.
I am myself made 1741 from 1 submission.
But there is 1735:modelling optimal packing different subsets sum problem for which great Erdesh was able to give 500$
Re: Weak tests
Finally AC by DP.
I had a good sleep 8)
Re: Weak tests
Why do you think that 19 is "many"? Some problems on Timus Online Judge have more than 200 tests. :)
Re: Weak tests
Problem not in amount, but in qualitative.
My wrong solution must not passed so many and get TLE, because it must get WA early :)
That's all. Topic closed.
Re: Weak tests
You must get AC for this problem with the first attempt. It's very easy problem. =) You should not think about "weak" tests in this case)
Re: Weak tests
Fyodor Menshikov created test, where my AC program failure =)
Re: Weak tests
We always encourage you to send good tests to us :)
Re: Weak tests
Yep =)
Some times I create "not bad" heuristic solution.
I know, that it is not good, but some times only my coatch (not Timus) can create failure test after he sees the code :)
Re: Weak tests
Please said me I'm right?
cracked on cracked, pirated
licensed on licensed, cracked
pirated on licensed, cracked, pirated
thanks!
Re: Weak tests
Program can't be cracked.
Update can be cracked.
If update is Licensed or Cracked,then program became Licensed.
If update is Cracked or Pirated,then program became Pirated.
Re: Weak tests
I correct my code, but I also got wa#8.
What is wrong in my idea?
1) sort by xi;
2) linear algo to find D[n][pirated] and D[n][licensed]
3) when write(min(D[n][pirated], D[n][licensed]))
or please give me some useful tests.
thanks!
Edited by author 17.11.2009 02:59
Re: Weak tests
I correct my code, but I also got wa#8.
What is wrong in my idea?
1) sort by xi;
2) linear algo to find D[n][pirated] and D[n][licensed]
3) when write(min(D[n][pirated], D[n][licensed]))
or please give me some useful tests.
thanks!
Edited by author 17.11.2009 02:59
My solution use DFS. I try to get answer not for last program, but for first. We have one "start point" and many "end points". Use recursion to get min cost of updating to every version of program.
Other only via email(only Russian)
Edited by author 17.11.2009 15:28Re: Weak tests
Oleg, use phrase "min cost" more carefully. =) Usually it means min cost max flow problem :))
Re: Weak tests
Test by Fyodor Menshikov was added to the test set.