Counting sort - Not passing test case

Counting sort - Getting the correct output while testing but not passing the test case.

Why did you mark it resolved ? were your doubts cleared?

Yeah…I just forgot to put endl at last.