Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

wannared's blog

By wannared, history, 7 years ago, In English

Dear Codeforces community,

What strategy do you use to hack others code. Writing code and then comparing with other? Did anyone tried automating it? Is it possible to build a tool that convert image to text and then stress testing it. I'd like to know what strategy do you use?

Thank you and have a nice day.

  • Vote: I like it
  • -11
  • Vote: I do not like it

| Write comment?
»
7 years ago, # |
  Vote: I like it +15 Vote: I do not like it
  1. Have hack cases in mind before you lock. Preferably, prepare a input (stress test) generator.
  2. After locking, go through the codes from bottom to top (in your room).
  3. Look at the code quickly to guess whether it will fail your hack case. (If the code is too long, skip it and hope that it fail system test)
  4. If the code looks suspicious, type it out and verify.
»
7 years ago, # |
Rev. 2   Vote: I like it +10 Vote: I do not like it

Only tip I have is that before you lock some problem, check your room to see which problems people got hacked on, statistically it should mean that those problems have weaker pretests, so you can have a higher chance on hacking those. On the other hand, when you see such problem you might want to double check you solution before locking it so no one will hack you on it.

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

    Check everyone not just your room, if there are already many hacks in your room you are probably too late.

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

"Writing code and then comparing with other? Did anyone tried automating it? Is it possible to build a tool that convert image to text and then stress testing it" — from a technical point of view it is surely possible, but it's not like you can't copy these codes directly for no reason. It is strictly prohibited to do so and doing that would be considered as cheating.