#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
string numbers[30];
int main(void)
{
int n;
cin>>n;
for (int i=0;i<n;++i)
cin>>numbers[i];
sort(numbers,numbers+n,[](string a,string b)
{
return a+b>b+a;
});
for(int i=0;i<n;++i)
cout<<numbers[i];
return 0;
}
在本地都能过,luogu编译就报错了,怎么回事啊