Https://ide.codingblocks.com/s/459815

My code is working fine but I am not able to submit or when I am submitting it just throws me the same output that is given by compile and test

hello @nitinchoudhary260

yeah , for this problem there is some backend issue.

btw there is one mistake in ur code.
u have declared count array of size 10, for values larger than 10 , you will get segmentation fault.
so find maximum value in the given array and then declare array greater than that

Yeah I was doing that before but was getting segmentation fault

So I made the size of count to 10

…

you must have done some implementation mistake.
share that code , i will check

Any suggestion what I should do there

And If there is a backend issue in this than this will be not counted as completed

…

the issue is already reported to the team , it will be resolved soon

make sure u are declaring approapriate size of array.
and in loop u r using right indexing

https://ide.codingblocks.com/s/459815 (What’s wrong in this

check now->

thanks It is working fine but how to know when to submit

As there is issue in the problem

…

not sure till when it will be resolved, skip this for now, try to submit again after some time

Okk Thanks for the help

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.