GavinZheng's blog

By GavinZheng, history, 7 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?

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

»
7 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Hm, there is no hack button showing up for me. I think maybe the contests that do not have validator cannot be hacked (because they cannot generate the correct answer)?

»
7 years ago, hide # |
 
Vote: I like it +15 Vote: I do not like it

You can write PM or mention me (like this [ user:GavinZheng ], but without spaces: GavinZheng). Your test is added, thanks.