How to match the value of constraints

my code is running well but is not meeting the terms of Constraints.so how should i meet the terms of constraints.

Could you please share the question link?

I think this should work https://ide.codingblocks.com/s/643071

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.