Just found an OP UB!

Revision en1, by Laggy, 2017-10-09 03:19:34

 Problem: 467C - George and Job So as you can see this is so cool because the bug doesn't actually have anything to do with the solving function. It happens somewhere when building the prefix sum. The current code doesn't pass TC#5 while after removing the green part it goes up to TC#55. How? I wish I knew. Maybe you guys have some thoughts ^^

Kudos to Bassel for playing with it.

Tags bug, op

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Laggy 2017-10-09 03:19:34 486 Initial revision (published)