Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main(){
- int T;
- scanf("%d",T);
- for (int i=0; i<T; i++){
- int N,A[N];
- scanf("%d",&N);
- for (int i=0; i<N; i++){
- cin >> A[i];
- }
- sort(A,A+N);
- for (int i=0; i<N; i++){
- cout << A[i];
- }
- }
- }
Add Comment
Please, Sign In to add comment