Getting time = 0sec and memory = 0 mb in codechef starters

This is the problem link -
Can you please tell me how is this possible to get 0 mb memory consumption.
If I am missing something then please correct me.

@cubefreak777 please help bro

cout << “NO”
<< “\n”;

Here, you’re returning before taking all the string inputs.
I actually made the same mistake but fixed it before the end of the contest

1 Like

Because your submission is wrong.if your submission is wrong than this happen.
look at my submission:-

1 Like

CodeChef judge throws these values when your code fails for a very trivial case out of the hidden test-cases.

1 Like

Thank you

Thank you.

Thank you brother