Help Needed!

Правка en1, от heysem, 2020-12-05 22:29:02

Hey there Codeforces!

I was trying to solve the C problem in Codeforces Testing Round #1.

I knew that so many people solved it using binary lazy tree but I wanted to try another aproach. I tried to solve it using SQRT Decomposition. I've got so many wrong answers and altough I've worked on it for like 2 days I couldn't fix the problem. Can you please help me about that?

My code is this.

If you find any bugs or if you have any suggestions I would appreciate it.

Thank you already!

Теги #rmq, #sqrt decomposition, #newbie, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский heysem 2020-12-05 23:10:48 5 Tiny change: 'ng binary lazy tree but' -> 'ng binary tree but'
en1 Английский heysem 2020-12-05 22:29:02 659 Initial revision (published)