MAXEP : What is the meaning of -1 input?

I am trying to solve MAXEP but I’m getting errors I don’t understand the concept behind the -1 input from grader

Same Question?

It’s nothing, just continue i.e. if you are using C++ then, when input -1 is given then you have to continue the loop.

if(input==-1) continue;

wrong answer in short
check your approach again

1 Like