Getting tle in java ↵
prob:↵
http://www.spoj.com/problems/DQUERY/↵
Tight time constraints ↵
Passed similar GSS1 and GSS3 using fast io↵
sol:↵
http://pastebin.com/9JGxVeFV↵
↵
Is any optimization possible ?↵
↵
Thank You
prob:↵
http://www.spoj.com/problems/DQUERY/↵
Tight time constraints ↵
Passed similar GSS1 and GSS3 using fast io↵
sol:↵
http://pastebin.com/9JGxVeFV↵
↵
Is any optimization possible ?↵
↵
Thank You