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?

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

»
5 years ago, # |
  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)?

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +13 Vote: I do not like it

    dude you can't hack it because the contest is old

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      why would that mean you can't hack it

      • »
        »
        »
        »
        5 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        Because, as said in the uphacking post, there is a 1 week phase after the contest when you can hack solutions. This contest is more than 1 week old so you can't hack solutions from it.

  • »
    »
    5 years ago, # ^ |
      Vote: I like it +3 Vote: I do not like it

    can I talk to Um_nik or Mike, and asks them to add this data?

    • »
      »
      »
      5 years ago, # ^ |
        Vote: I like it -8 Vote: I do not like it

      Told Mike. I find 52C has some problems too. I told Mike and Mike modifyed the data.

»
5 years ago, # |
  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.