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

Автор theGreyHound, история, 15 месяцев назад, По-английски

https://cses.fi/problemset/task/2134 => Path Queries 2. Used Heavy light decomposition. But I am getting tle verdict. Here is my code:https://pastebin.ubuntu.com/p/rFwVQfCd7v/ Is there some error in the code or there is some optimization needed?

Полный текст и комментарии »

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