Comments
On vaavenCodeforces Round #953 Editorial, 22 months ago
0

I cannot Understand your code. You can check my code and understand the error. 266164533. I calculated the max number and its position and checked the cases. I guess you were missing a case.

On vaavenCodeforces Round #953 Editorial, 22 months ago
0

I just Used Math. It is Much Easier to solve using Math. 265997636