Hi,
I have tried many approaches but i’m getting TLE for ada and mulberry in test case 15. My program runs in qlog^2(n+q). It uses a range trees and ordered sets. I have optimised my code in all ways that I can think of.
Problem: https://www.spoj.com/problems/ADABERRY/34
Code: Code: https://ideone.com/qkuQSk42
created
last reply
- 1
reply
- 851
views
- 2
users
- 2
links