1
已采纳
这不难吧
bool cmp(string m,string n)
{
return m+n>n+m;
}
用这个排下序,直接输出就可以了
排序用sort 思路就是比较两种顺序哪一种大
字符串做会更方便
0
0
0
0
0
0
0
0
0
0
0