Article directory
counting sort
[Problem description] There are N integers, and they are sorted by counting sort
[Input format] N integers
[Output format] N integers
[Sample input]
10
2 1 4 2 3 3 3 2 9 5
[Sample output]
1 2 2 2 3 3 3 4 5 9
programming
C language
#include<stdio.h>
#include<string.h>
#include