guptautkarsh028's blog

By guptautkarsh028, history, 7 years ago, In English

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

  • Vote: I like it
  • +1
  • Vote: I do not like it