Just reevaluate MIKE3

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 ?

Is the answer 12?

1 Like

Thanks for your help! We have improved our test cases, all successful submits will be rejudged soon.

5 Likes

I appreciate your work man - Nice

1 Like

it’s a pity , his own solution got WAed 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 …:slight_smile:

3 Likes

this testcase does not follow the constraints btw

1 Like

Ai should be sorted

now its sorted but same affect on output

5 Likes

yeah that’s why wrong code also accept…:slight_smile:

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

yeah ans is 12.

4 Likes