Hack but no Hack, today's div 2

Revision en1, by karan_garg_12, 2025-10-05 22:38:12

Today, finally for the first time in the history, I got a test case to hack the Problem D[problem:2155D]. But after the contest ended :(

The test case is actually easy

n = 40, a = 4 and the active positions as [1 14 27 40] It should find under 400 operations, but everyone who wrote the code with checking with iterating on the gap between the batteries will get the result in approx 403-404 queries.

One day, I'll also hack, today I got the motivation.

Tags hacking, div2

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English karan_garg_12 2025-10-05 23:22:47 188 Tiny change: 'ourist])\n- [user:' -> 'ourist])\n\n- [user:'
en2 English karan_garg_12 2025-10-05 22:44:32 110 Tiny change: ' hack the Problem D[problem:2' -> ' hack the [problem:2'
en1 English karan_garg_12 2025-10-05 22:38:12 502 Initial revision (published)