guptautkarsh028's blog

By guptautkarsh028, history, 8 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

Full text and comments »

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