help me with this mo's problem

Правка en1, от tanvir_cse, 2016-08-11 14:48:51

i used mos algo for this problem but got TLE on case 43,38 etc;;; i can't get whats wrong with me,,,i saw a solve my type but i got TLE

problem link : http://mirror.codeforces.com/contest/86/problem/D

my code : http://mirror.codeforces.com/contest/86/submission/19782537

thanx in advance

Теги mos_algorithm

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский tanvir_cse 2016-08-11 14:48:51 314 Initial revision (published)