Segment Tree question Need Help

Revision en1, by this_ability, 2025-01-09 09:53:30

hii everyone, I attempted a very good question on Segment tree. Though I have checked my logic with the editorial, I am having errors in its implementation. If anybody could have a look and explain where my code is getting stuck. Problem is 914D. Link to the problem 914D - Bash and a Tough Math Puzzle My submission is Submission link 300235362 Thanks in advance.

Tags segment tree, help, wrong answer, implementation

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English this_ability 2025-01-09 09:53:30 502 Initial revision (published)