https://ide.codingblocks.com/s/232417 this one is working fine but https://ide.codingblocks.com/s/233714 is not giving right please tell me why is it so
Dividig array problem
i cant find out where please tell me because i run the code with various inputs and both the code are giving the same out putand wht you mean by a[]
your both codes are correct, don’t worry!
but second one is not submitting it is giving error
Piyush it passes on hackerblocks! try here
https://hack.codingblocks.com/app/practice/1/157/problem
you may also try fast input output but still, your code is fine! don’t worry
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.