Sumarbrander's blog

By Sumarbrander, history, 4 years ago, In English

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 and sshwyR to look into it.

Full text and comments »

  • Vote: I like it
  • +49
  • Vote: I do not like it