Is it possible to solve this question to solve using MO's algorithm ?

Правка en2, от drexdelta, 2017-04-22 14:45:59

I have been trying to solve this question with MO's algorithm. but My solution was getting TLE. Please somebody share an approach, if it is possible to solve with MO's algorithm . Link to problem : http://codeforces.net/contest/588/problem/E

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский drexdelta 2017-04-22 14:45:59 26
en1 Английский drexdelta 2017-04-22 14:45:16 323 Initial revision (published)