Weak Test cases !! TAAND

just sorting an array and updating max for every two consecutive elements is getting accepted(100 marks) .

For the input 10 4 2 1 , answer according to above algorithm will be 0. (10&4 =0 , 4&2 = 0, 2&1 = 0) .

But the correct answer should be 10 & 2 = 2.

link: Solution with this algo that got accepted

The solutions should be rejudged.

20 Likes

test case are too weak…contestants with this algo are being awarded complete 100 marks even if their codes are not even partially correct(their actual score must be 0).this is completely unfair on other contestants.

6 Likes

Yes I was shocked to see this too
http://www.codechef.com/viewsolution/4384589

1 Like

Indian School ranking 2 submission CodeChef: Practical coding for everyone

Indian school ranking 1 submission
http://www.codechef.com/viewsolution/4382846

2 Likes

even this one…CodeChef: Practical coding for everyone
o/p for 3 2 4 10 should be 2 but its giving 0.

there are many(yes more than 100!! may be more than that also, but i have seen this much(100) wrong codes).
especially top 100.
There are many test cases:6
1 3 4 5 8 37.
and i am wondering why tester can’t imagine one of these :frowning:

5 Likes

when will u guys rejudge this?