JAVA DQUERY SPOJ TLE

Revision en2, by sanket407, 2016-02-07 07:59:38

Getting tle in java prob: http://www.spoj.com/problems/DQUERY/ Tight time constraints Passed similar GSS1 and GSS3 using fast io sol: http://pastebin.com/9JGxVeFV

Is any optimization possible ?

Thank You

Tags java, tle, segment tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English sanket407 2016-02-07 07:59:38 49
en1 English sanket407 2016-02-07 07:58:42 189 Initial revision (published)