It will take years for MARM 100pts now

The solution is very perfect and passing all possible test cases but still WA on submission for the next 70pts.

2 Likes

Hey have you really gone through question? It will take some time to look properly to question and not your answer. I can tell without watching your answer your mistake. Just read the question carefully.

1 Like

You made a very simple yet big mistake. Give a thought to what you wrote above. You will understand.

1 Like

A very simple yet big? Is it about printing the output?

1 Like

Leave it this time so you will have experience. It’s necessary to go through this stage so next time you won’t make this mistake. You can stop now asking.

1 Like

If it was for TLE that means you need to try some other approach to solve the problem. But since it gives you WA you should understand that there is some constraint in Subtask 1 which your code is able to satisfy but it can’t do the same for Subtask 2 . See the substasks and think about it ,you will come to know.

2 Likes

Please don’t discuss here about the problems of ongoing contests. Don’t give ANY hint whatsoever about the problems. You might be plagiarized for the same.

3 Likes