Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

SPOJ problem GSS1

Revision en1, by guptautkarsh028, 2017-05-04 14:39:30

Problem link — http://www.spoj.com/problems/GSS1/

My solution in java is giving TLE. I have used fast I/O and segment tree.

Can anyone please help and figure out the problem.

My solution — http://ideone.com/WERmA4

Thank You

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English guptautkarsh028 2017-05-04 14:39:30 265 Initial revision (published)