Help me with this code please! I dont know what I'm doing wrong all of my submission gives wrong answer while in custom I get it correct

removed due to current contest topic.

The link leads to “Access Denied”.
If these are the solutions to problems of an ongoing contest, nobody can view it apart from you. (Also, you’re not supposed to ask such doubts regarding ongoing contests.)

sorry I will remove the topic then.
But I’m seriously concern what is wrong with the code.

I guess you’d have to figure this out on your own or wait till the contest is over.

yep thanks anyways