How to reproduce hacks made with a generator
Разница между en1 и en2, 195 символ(ов) изменены
I asked to get hacked because the tests of the last contest were weak and my O(n*10^6) solution had passed (https://mirror.codeforces.com/contest/1989/submission/267752822).↵
Someone nicely hacked it (https://mirror.codeforces.com/contest/1989/hacks/1052821) — really appreciate the community btw.↵

I fixed the code and now it's (10^6 * log(n)) (https://mirror.codeforces.com/contest/1989/
hacks/1052821submission/267775979).↵
To be sure I fixed the code I would LOVE to re-run that test case that got me TLE but I'm not going to ask this person again and again to hack my submissions just to make sure I managed to improve my solution.↵

How can I reproduce the hack?↵
Why aren't hacks added to the test cases automatically? I thought that was the case but I think it's just for the contests with open hacks.↵

EDIT: well the person gave me the code to generate the hack so that's nice I don't need it anymore but it would be nice to have the possibility to get the code right?↵

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский JasonMendoza2008 2024-06-27 21:31:37 195
en1 Английский JasonMendoza2008 2024-06-27 21:27:21 824 Initial revision (published)