Sorting in linear time

hey i want to why is it giving run time error in the second test case

Hi neerav
The size of input array exceeds the maximum size of your array. Use long int for that purpose.
correct code: https://ide.codingblocks.com/s/139558

Note : the code is showing error on coding blocks ide, but i have run it on my local compiler. It runs fine.
Reply if resolved :slight_smile:

so this means it is correct

but if it is correct how am i supposed to score 100 in it

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.