| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 21082 | 邢逸轩 | 调整三位数,使其值最大 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 200 | 2021-06-26 15:08:33 |
#include<bits/stdc++.h> using namespace std; int a,ans[4]; int main(){ for(int i=1;a;i++){ ans[i]==a%10; a/=10; } sort(ans+1,ans+4); for(int i=4;i>=1;i--) cout<<ans[i]; return 0; }