please help me to find where my solution is getting wrong and which test cases is getting wrong in my solution?

this is the problem from long test div2.
link text is the link to my answer and this is the link to my problem link text

This is link to the Code of Conduct that forbids sharing code for ongoing contests. See points 5,8,9.

1 Like
//