Test case 3 failing

test case is failing

plz, share your code

if(load%n!=0)//when this case is true then you should end your code: 

    {

        cout<<"-1"<<endl;

        return 0;//either add this or put the lower part then this within the else clause

        

    }

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.