SPOJ TLE on a simple segment tree problem .

Revision en1, by rr459595, 2018-03-07 00:05:40

I am getting TLE with java on this problem http://www.spoj.com/problems/GSS3/ . I checked all testcases and it seems to be running fine. Any help would be appreciated.

Code :- https://ideone.com/lFTHXl

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rr459595 2018-03-07 00:05:40 247 Initial revision (published)