TLE IN SPOJ PATULJCI

Правка en1, от JacobianDet, 2018-05-19 14:07:29

I tried this problem using segment tree but it's getting TLE. Can anybody explain how to remove TLE from this code?

Solution : https://pastebin.com/8iuk4mQp

Problem : http://www.spoj.com/problems/PATULJCI/

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский JacobianDet 2018-05-19 14:07:29 231 Initial revision (published)