#include <bits/stdc++.h> using namespace std; int main() { int m; cin >> m; while(m--) { int n; cin >> n; vector<string> v; while(n--) { string str; cin >> str; v.push_back(str); } sort(v.begin(),v.end()); for(auto it : v) { cout << it << endl; } } return 0; }
0.0分
0 人评分