Problem Name: KQUERY — K-query
Problem Link: http://www.spoj.com/problems/KQUERY/
My solution: http://ideone.com/4COpOu
verdict: TLE
How do I further optimize my solution?
Any help is really appreciated.
Binary Indexed Tree Problem from SPOJ (KQUERY — K-query)
Problem Name: KQUERY — K-query
Problem Link: http://www.spoj.com/problems/KQUERY/
My solution: http://ideone.com/4COpOu
verdict: TLE
How do I further optimize my solution?
Any help is really appreciated.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en1 |
|
Tobby_And_Friends | 2016-10-20 02:41:27 | 280 | Initial revision (published) |