Why code not submitting


can u tell why test case 0 is failing?and plse correct my code.

check for any values where n>=6 && n<=9 .the loops are not right, try again if still fails, let me know. Will help accordingly

yes ,now it worked when i taken into account n=9
thnaku

I haven’t done anything, Just have told you the constraints. It’s totally your work. Keep it up :slight_smile:

1 Like

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.