| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 127684 | XIAOXINGYUN | 计算函数值 | C++ | Wrong Answer | 0 | 0 MS | 260 KB | 312 | 2024-01-25 09:53:53 |
#include<bits/stdc++.h> using namespace std; string a[105]; bool qwq(string a,string b) { return a+b>b+a; } int main() { int n; cin>>n; for(int i=0;i<n;i++) { cin>>a[i]; } sort(a,a+n,qwq); for(int i=0;i<n;i++) { cout<<a[i]; } return 0; }