https://ide.codingblocks.com/s/341005 in this i maintail cummulative sum array in which i divide each element of csum array with n (no. of digits entered). and the sum of those numbers which come by division gives us the answer
Please help me wht testcases are failing
I don’t understand your approach exactly, why would you divide by n?
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.