Counting Sort- Code not working

I have written the code for Counting Sort and when I test it with small data set, it works but when I test it with a large data set, it won’t give any output at all

Also, when I submit the code it does not even tell if the test cases passed or failed, it just does not run

My code is attached here- https://ide.codingblocks.com/s/438363