| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19940 | 季洁 | 加入数 | C++ | Accepted | 100 | 0 MS | 260 KB | 251 | 2021-05-26 19:45:30 |
#include<bits/stdc++.h> using namespace std; int main(){ string a,b,c,d,p; cin>>a>>p; for(int i=0;i<=a.size();i++){ b=a; b.insert(i,p); for(int j=0;j<=b.size()-1;j++){ c=b; c.erase(j,1); if(c>d) d=c; } } cout<<d; }