On Saturday, April 28, 2018 at 1:00:22 AM UTC+8, Yupeng Gu wrote:
>                       res[-1][1] = end

That line should be: res[-1][1] = max(res[-1][1], end)

I had the same bug, and the same thing happened - failed the hidden set :(
Lack of any test data made it pretty hard to debug, but I figured it out 
eventually.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/4ab4e682-ad62-437d-9865-49558ee40463%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to