Difficulty: ★☆☆☆☆
Given an orderless integer sequence
Please sort the sequence in ascending order
The first line contains a integer N, indicating the number of testcases.
You can use this format in your code:
int i , N;
scanf("%d",&N);
for(i=0;i<N;i++){
// your code to deal with each testcase
}
The following lines are testcases.
Each testcase contains an integer sequence . the number in the integer sequence will be 0 ~ 9.
And the length of the integer sequence is smaller than 20.
There might be duplicated integers in the integer sequence
The integer sequence sorted ascending.
Note that you have to add '\n' at the end of output