Блог пользователя ILovePlumCakeAndIceCream

Автор ILovePlumCakeAndIceCream, история, 8 лет назад, По-английски

Hi everyone,Here is the link to the problem here .I got the general O(n*n) approach but It will TLE obviously .When I googled the problem,I got Chinese editorials regarding the same and they all pointed to involvement of segment trees.I could not get much details due to lack of clearity in the English text produced by the Translator .Can someone please help me regarding the same .Thanks and have a nice day :)

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится