Блог пользователя viliml

Автор viliml, 12 лет назад, По-английски

Hi! I'm new here, and I don't really understand hacks, what they are, how to hack, what to hack, who is the defender, what does he do, how to become one, etc. Simply said, I know nothing about hacks!

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится

»
12 лет назад, # |
Rev. 3   Проголосовать: нравится +9 Проголосовать: не нравится

I'm new here

Welcome to codeforces :)

what they are

hacking is to give a testcase that makes a solution to a participant fail(i.e Wrong Answer,runtime error, time limit exceeded)

who is the defender

the owner of the code that you try to hack

what does he do

he do nothing ,if his solution is absolutely correct then no one can hack his code

how to hack

On the dashboard, click the padlock icon for locking a problem (Note, that you can not send your solution for a problem after locking it). Then go to room results, where you can see roommates codes for the problems you've already locked (you can see a certain solution by double clicking on it in the room results table). After you've opened someone's solution, you can consider it and then hack it. When hacking a code, you're entering some testcase on which that code is most likely going to fail (it may be wrong answer, or running out of time/memory limit). When you want to enter a large testcase, you can send test generator instead of typing it. Test generator must be your program which produces a file with a testcase in it. After hacking a code, you can see hacking results. There are two possible outcomes: "Successful hack" — it means the code failed, and you're rewarded with 100 points for that. Otherwise, it's "Unsuccessful hack" (the code did not fail) and you get minus 50 points for that.

quoted from jskhirtladze

»
12 лет назад, # |
  Проголосовать: нравится -22 Проголосовать: не нравится

It's penetrating into someone else's computer.

:/

»
7 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

if i do not lock my code , than it is not hackable . am i right ??? or is it hackable ?? ( i am beginner )

»
5 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

After viewing the test case on which my code was hacked,the test case showed same output when I tried it on one of the correct solutions.Are there any other possible reasons of a code getting hacked ?

  • »
    »
    5 лет назад, # ^ |
    Rev. 2   Проголосовать: нравится +1 Проголосовать: не нравится

    maybe your computer is working tooooooo well and it passed the data but it got a "time limit exceeded" on the judging computer of Codeforces. Just like the time limit is 1000ms, and your program ran for 950ms on your computer but failed on Codeforces' computer, maybe it ran for 1001ms on Codeforces :(

  • »
    »
    5 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    or maybe some unexpected Runtime Error or Memory Limit Exceed, etc.

»
2 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

What kind of contest can be hacked? It seem like it include Educational round

  • »
    »
    2 года назад, # ^ |
      Проголосовать: нравится +3 Проголосовать: не нравится

    Div.4, Div.3 and Educational rounds include 12-hours hacking stages after the end of the contest.