Need help in Cisco Icode round 2 problem

Правка en1, от unt311, 2021-04-08 23:13:38

This is a very cool problem with a short simple problem statement. I am getting TLE for a O(n * (logn)^2) solution.

Please provide a solution, or give suggestions to improve my solution (using binary search and segment tree)

Теги round2

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский unt311 2021-04-08 23:13:38 468 Initial revision (published)