TLE in problem 888-G Xor-MST

Правка en2, от tanujWF, 2017-11-13 16:24:57

I read the editorial and tried to implement the same in my code but I am getting TLE. Please help me find out the error and suggest any optimizations.(Tried my submission on my local compiler on a randomly generated test file with worst case inputs and it is taking 6 seconds to compute).

http://codeforces.me/contest/888/submission/32207497

Теги #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский tanujWF 2017-11-13 16:24:57 138
en1 Английский tanujWF 2017-11-11 02:06:08 236 Initial revision (published)