Please subscribe to the official Codeforces channel in Telegram via the link ×

The one who did this is a genius

Revision en1, by shevlopmes, 2024-06-09 22:23:22

Hi Codeforces,

We saw an unusual amount of hacks today. Specifically, there were a lot of hacks on problem B, I did one myself. The submission I hacked looked like this


As you can see, it's a completely valid solution except there are 2 unnecessary if statements which made it hackable. That made me think of 2 things: why there wasn't any 10-digit number in pretests and why the contestant wrote that "if"?

But after the contest I saw a list of hacks and, to my surprise, there were A LOT of hacks on similar submissions. So my hypothesis is that one of the authors intentionally spread an incorrect solution in some cheating community and removed all 10digit numbers from pretests. If that's true, I pay my respect


  Rev. Lang. By When Δ Comment
en1 English shevlopmes 2024-06-09 22:23:22 1469 Initial revision (published)