Time Complexity

Правка en1, от sourabh_jangid, 2019-09-10 20:13:10

I am trying to solve 611D - New Year and Ancient Prophecy, I wrote 60357814 this solution. I think the Time Complexity of my solution is $$$O(n ^ 2\log{}n)$$$ but I am getting Time Limit Exceeded verdict. I want to know is my Time Complexity analysis is wrong or only $$$O(n ^ 2)$$$ solution will pass.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский sourabh_jangid 2019-09-11 08:55:26 81
en1 Английский sourabh_jangid 2019-09-10 20:13:10 305 Initial revision (published)