For following test case my code CodeChef: Practical coding for everyone
gave wa but its accepted …after some modification i resubmit a new code that give right ans and accepted.
please check for test case
62 20
4 10 12 16 18
3 12 21 23
5 21 25 27 28 29
4 28 32 34 38
4 32 42 45 49
5 49 52 55 57 62
6 2 4 6 8 9 10
8 1 3 4 6 8 9 12 18
9 2 4 5 9 12 17 21 22 43
1 8
1 9
1 20
1 34
1 24
1 5
1 45
1 56
1 3
1 5
2 4 8
reevaluate all submitted problem that accepted bcz of weak testing
32 Likes
@maheiitr Thank you for honestly posting this. I would suggest you write to feedback@codechef.com about the problem.
1 Like
Exactly. Testcases are weak!
The test cases are not good enough to judge the solution complexity. My guess is that the size of sets is very small in test cases.
what is the correct answer for this test case ?
Thanks for your help! We have improved our test cases, all successful submits will be rejudged soon.
5 Likes
jangwa
March 11, 2014, 9:27pm
7
I appreciate your work man - Nice
1 Like
it’s a pity , his own solution got WA ed on rechecking :-p !!
Keep on working brother, You’ll solve it (y)
**How it come 12 ? Mine is showing 11… **
yeah i already did that …
3 Likes
this testcase does not follow the constraints btw
1 Like
now its sorted but same affect on output
5 Likes
yeah that’s why wrong code also accept…
4 Likes
3rd array still not sorted it should be 5 21 25 27 28 29
its not important that i got wa after rechecking but important thing is learning
12 Likes
In fact this is honourable, he asked for stronger test cases even when his own solution failed…
More contestants like @maheiitr , and because I cannot upvote his question again, I’m giving him some karma…
4 Likes