I implemented the following problem in Java:

*According to Bartjens *
https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=428&page=show_problem&problem=3218

But I got the "Time limit exceeded" after submission the program.

I would like to optimize my algorithm and reduce the run time to 3 seconds.

Thank you very much for any suggestion.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to