Comments

Hello Codeforces, I got a warning for a similar solution with some other participants on my submission 372049120 of Educational Codeforces Round 189. I request a review for this.

I assure you that I didn't copy or use any external source for my solution. I also didn't share my code during the contest with anyone. I came up with this prefix xor solution after 30–35 minutes of thinking and then coded it in VS Code. I was also not able to solve the question in the contest because I didn't think of an edge case, and I typed the mod number wrong; instead of 44, I typed 94 in the middle. Later, I was able to solve the question. So again, I request you to please review my code.