Binary Indexed Tree Problem from SPOJ (KQUERY — K-query)

Правка en1, от Tobby_And_Friends, 2016-10-20 02:41:27

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, spoj

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tobby_And_Friends 2016-10-20 02:41:27 280 Initial revision (published)