[help] hard segment tree problem

Revision en1, by Harolinch, 2021-09-11 22:48:44

Dear codeforces community, I came across this problem F: Strange Array and I am not able to solve it and not also able to understand the tutorial. can anyone please help me to solve it ? what is the idea behind it and how to approach the problem

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Harolinch 2021-09-11 22:48:44 329 Initial revision (published)