GavinZheng's blog

By GavinZheng, history, 5 years ago, In English

Here is the problem: 986C My submission got AC: My submission

But I found that my solution is totally wrong. Here is the hack data: 2 2 3 2 My output is 1. Obviously, the correct ans is 2. And I discoverd this data can hack my classmate's submission too.

What should I do? Can I add this data to Codeforces dataset?

Full text and comments »

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