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

Автор demitronization, история, 7 месяцев назад, По-английски

I was going through yesterday's hacks and I found some weird stuff :

For Problem A there was a hack made by adityakr619 on Justadi698

Link Here https://mirror.codeforces.com/contest/1976/hacks/1027807

they literally had hardcoded a case which might not be in testcases to be hacked???

 Link Here

as according to the problem this should return a NO

Also in the same contest we had this

Here

Literally all A hacks were similar, Educational rounds don't carry points for hacking right?

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

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

There were so many such hacks in today's contest. Linking up another example here :- https://mirror.codeforces.com/contest/1976/submission/263366548

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

    Also you may notice that the codes of your second example and this example are completely the same. Despite both the hacker and the person being hacked being different.

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

People try to familiarize themselves with hacking I guess. They want to really test it out + you can hack submissions made after the contest. So to really test it out they submit such solutions and then hack them. To get an idea of how generating test cases or putting input works.
When I first tried hacking solutions (I still haven't made a successful hack), there were loads of issues with spaces in inputs, end of line etc.
I personally do not condemn this exercise unless done with malintent.

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

    That does make sense, though losing viable points for learning hacking doesn't seem fine, as the first one I mentioned happened b/w the contest.