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

Автор svg_af, 11 лет назад, По-английски

Hello there

I'm trying to solve this problem with this code

I'm using a segment tree with a treap in each node and the trick from this blog

I keep getting WA on testcase 20 and i have rewritten the code a few times and debugged for hours looking for the reason

If anyone could find my error that would be really appreciated

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

»
7 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Same problem. WA 20 or TL 20