Weak test cases for the problem C of Codeforces Round 664 (div 2)

Revision en1, by Sumarbrander, 2020-08-13 01:48:51

My solution for the problem 1395C - Boboniu and Bit Operations of the contest Codeforces Round 664 (Div. 2) was uphacked by Lightbender after the contest. So I was looking for the same mistake in other participants' code and found another user with code giving the wrong output on the same test case. Thanks yellow_13 for finding the test case. I feel that many incorrect codes might have been accepted because of weak test cases.

My Submission:- 89709001

Other Submission:- 89699186

The solution fails for the test case

3 2

3 10 128

130 137

The output should be 130 but the code outputs 131. This is the second time in last 3 contests that incorrect codes have been accepted due to weak test cases. I ask the Codeforces Community ans sshwyR to look into it.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Sumarbrander 2020-08-13 01:50:36 4 Tiny change: 'odeforces Community ans [user:ssh' -> 'odeforces community and [user:ssh'
en1 English Sumarbrander 2020-08-13 01:48:51 893 Initial revision (published)