TC1 failing pls chk

Test Case 1 is failing…please see my code…

@soumakpoddar55
Line 14
if(load%n!=0){
After you cout<<-1 return 0;
you are still giving output after -1 which gives error

Kindly close the doubt