Cumulative sum problem

Hello Team
I Taken the Data Science Course using Python But when i am Doing the problems using c++ it compile and run but the submission is not done on the website

Hey alok,
these problems are given for your practice on python.
But in anyway if you are submitting in c++ also, It should accept the solution required you have written proper code for inputting the test cases.

Thanks,

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.