| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 19939 | 季洁 | 加入数 | C++ | Wrong Answer | 10 | 0 MS | 252 KB | 253 | 2021-05-26 19:21:33 |
#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()-1;i++){ b=a; b.insert(i,p); for(int j=0;j<=b.size()-1;j++){ c=b; c.erase(j,j); if(c>d) d=c; } } cout<<d; }