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

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

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://codeforces.me/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
  • Проголосовать: не нравится

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

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

»
2 года назад, скрыть # |
 
Проголосовать: нравится +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.