12939 — Keep Fit! Solution Idea ??

Правка en1, от faiyaz26, 2015-09-03 10:16:01

Can anyone help me with this problem ?

12939 — Keep Fit!

I have followed the idea of this problem to solve the problem.

But the complexity becomes Q * NlogN , which gives TLE.

Any optimized idea ?

Теги data structures, uva

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский faiyaz26 2015-09-03 10:16:01 411 Initial revision (published)