Pls explain the error in my code as it is not passing all the test cases

https://online.codingblocks.com/app/player/251744/content/248323/4795/code-challenge

hi @abhijee0123 send the code in ide.codingblocks.com
write
save
send the url of page

hi @abhijee0123
cout << sum << endl; print new line after printing each sum

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.