How to solve this problem ?

Правка en1, от goofg671, 2020-04-15 07:47:44

Link to the problem : https://www.codechef.com/APRIL20B/problems/FCTRE

I applied MO's algorithm on trees but it gives TLE.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский goofg671 2020-04-15 07:47:44 155 Initial revision (published)