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
SPOJ problem GSS1
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
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en1 | guptautkarsh028 | 2017-05-04 14:39:30 | 265 | Initial revision (published) |