QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#251493 | #7773. 重排 | 275307894a | 100 ✓ | 148ms | 71612kb | C++14 | 1.5kb | 2023-11-14 19:37:37 | 2023-11-14 19:37:38 |
Judging History
answer
#include<bits/stdc++.h>
#define Gc() getchar()
#define Me(x,y) memset(x,y,sizeof(x))
#define Mc(x,y) memcpy(x,y,sizeof(x))
#define d(x,y) ((m)*(x-1)+(y))
#define R(n) (rnd()%(n)+1)
#define Pc(x) putchar(x)
#define LB lower_bound
#define UB upper_bound
#define fi first
#define se second
#define eb emplace_back
using namespace std;using ll=long long;using db=double;using lb=long db;using ui=unsigned;using ull=unsigned long long;using pii=pair<int,int>;using LL=__int128;
const int N=2e6+5,M=(1<<17)+5,K=(1<<26)+5,mod=999911659,Mod=mod-1;const db eps=1e-9;const int INF=1e9+7;mt19937 rnd(time(0));
int n;char s[N];
string q[N];int H=1,T=0;
void clear(int x){
q[x].clear();q[x].shrink_to_fit();
}
int eqt;
void construct(){
// cerr<<H<<' '<<T<<' '<<eqt<<' '<<q[T]<<'\n';
while(eqt<T&&q[eqt]!=q[T]) eqt++;
int cnt=T-eqt+1;
if(cnt<=eqt-1-H+1){
for(int i=eqt;i<=T;i++) q[i]+=q[H++],clear(H-1);
return construct();
}
string a=q[T];while(H<=T&&q[T]==a) clear(T),T--;
if(H>T){
while(cnt--) cout<<a;return;
}
for(int i=2;;i++)if((cnt+i-1)/i<=T-H+1){
int p=(T-H+1-cnt%(T-H+1))%(T-H+1);
string b=a;for(int j=2;j<i;j++) b+=a;
int t=T;
for(int j=t-p+1;j<=t;j++) q[j]=b+q[j],++T,swap(q[T],q[j]),clear(j);
b+=a;
for(int j=H;j<=t-p;j++) q[j]=b+q[j],++T,swap(q[T],q[j]),clear(j);
H=t+1;
return construct();
}
assert(0);
}
int main(){
int i,j;scanf("%s",s+1);n=strlen(s+1);
for(i=1;i<=n;i++) q[++T]=s[i];
sort(q+H,q+T+1);reverse(q+H,q+T+1);
eqt=T;while(eqt>H&&q[eqt-1]==q[T]) eqt--;
construct();
}
詳細信息
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 7ms
memory: 66464kb
input:
mmmmmmmmm
output:
mmmmmmmmm
result:
ok single line: 'mmmmmmmmm'
Test #2:
score: 0
Accepted
time: 10ms
memory: 67464kb
input:
qqymfqgj
output:
fyqqqmjg
result:
ok single line: 'fyqqqmjg'
Test #3:
score: 0
Accepted
time: 3ms
memory: 66908kb
input:
wtzyztttz
output:
tywtztztz
result:
ok single line: 'tywtztztz'
Test #4:
score: 0
Accepted
time: 4ms
memory: 67272kb
input:
bcbccccbcc
output:
bccbccbccc
result:
ok single line: 'bccbccbccc'
Test #5:
score: 0
Accepted
time: 13ms
memory: 67052kb
input:
hojqbzgfb
output:
bqojhgfbz
result:
ok single line: 'bqojhgfbz'
Test #6:
score: 0
Accepted
time: 7ms
memory: 67848kb
input:
rjyrbjqlz
output:
bzyrrqljj
result:
ok single line: 'bzyrrqljj'
Test #7:
score: 0
Accepted
time: 7ms
memory: 67596kb
input:
oiyholvco
output:
cyvooolih
result:
ok single line: 'cyvooolih'
Test #8:
score: 0
Accepted
time: 4ms
memory: 67612kb
input:
ubbnfttog
output:
bttongfbu
result:
ok single line: 'bttongfbu'
Test #9:
score: 0
Accepted
time: 6ms
memory: 67880kb
input:
hhuhttttj
output:
htthuhttj
result:
ok single line: 'htthuhttj'
Test #10:
score: 0
Accepted
time: 11ms
memory: 66932kb
input:
rnurrrrkrr
output:
kurrrrrrrn
result:
ok single line: 'kurrrrrrrn'
Test #11:
score: 0
Accepted
time: 8ms
memory: 67892kb
input:
wwwwrrwwrr
output:
rwrwwrwrww
result:
ok single line: 'rwrwwrwrww'
Test #12:
score: 0
Accepted
time: 7ms
memory: 66052kb
input:
tppvcjlls
output:
cvtsppllj
result:
ok single line: 'cvtsppllj'
Test #13:
score: 0
Accepted
time: 4ms
memory: 67240kb
input:
fyrrwriyxr
output:
fyyxwrrrri
result:
ok single line: 'fyyxwrrrri'
Test #14:
score: 0
Accepted
time: 13ms
memory: 67992kb
input:
ouulnlasnu
output:
auuusonnll
result:
ok single line: 'auuusonnll'
Test #15:
score: 0
Accepted
time: 4ms
memory: 67500kb
input:
aasapssss
output:
aspassass
result:
ok single line: 'aspassass'
Subtask #2:
score: 20
Accepted
Test #16:
score: 20
Accepted
time: 4ms
memory: 67516kb
input:
bbbbbbbcbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
output:
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbc
result:
ok single line: 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbc'
Test #17:
score: 0
Accepted
time: 13ms
memory: 67344kb
input:
aaaaaaaabcaabacacaaaacaaabaaaabaabaaaaac
output:
aaabaaacaaabaaacaaabaaacaaabaaacaaabaaac
result:
ok single line: 'aaabaaacaaabaaacaaabaaacaaabaaacaaabaaac'
Test #18:
score: 0
Accepted
time: 15ms
memory: 67108kb
input:
abbcbbbabbacbbbbabcbbbabbbcbabbbababbaabbbb
output:
abbbbacacacacabbbbbabbbbbabbbbbabbbbbabbbbb
result:
ok single line: 'abbbbacacacacabbbbbabbbbbabbbbbabbbbbabbbbb'
Test #19:
score: 0
Accepted
time: 3ms
memory: 66480kb
input:
baaaabaaaaabaaaaaaaaabaaaaaaaaabaaabbaaaaaaaaabaa
output:
aaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaab
result:
ok single line: 'aaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaab'
Test #20:
score: 0
Accepted
time: 7ms
memory: 67812kb
input:
aaabbaaaaaaabbaaaaaaabaaaaaaabaaaaaaaabbbaaaaaa
output:
aaaaabaaaabaaaabaaaabaaaaabaaaabaaaabaaaabaaaab
result:
ok single line: 'aaaaabaaaabaaaabaaaabaaaaabaaaabaaaabaaaabaaaab'
Test #21:
score: 0
Accepted
time: 11ms
memory: 67264kb
input:
bcccbcaababccbcbbccbacbbcabcbbbbacbccaabccaccb
output:
accbbaccbbaccbbbaccbbaccbbaccbbbaccbbaccbbaccc
result:
ok single line: 'accbbaccbbaccbbbaccbbaccbbaccbbbaccbbaccbbaccc'
Test #22:
score: 0
Accepted
time: 7ms
memory: 66308kb
input:
caaaacacacaaacacccaaacacaacaaccbcacbaaccccbcaaac
output:
abacacacacacacacabacacacacacacacabacacacacacacac
result:
ok single line: 'abacacacacacacacabacacacacacacacabacacacacacacac'
Test #23:
score: 0
Accepted
time: 7ms
memory: 66440kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #24:
score: 0
Accepted
time: 7ms
memory: 67696kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #25:
score: 0
Accepted
time: 11ms
memory: 67836kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #26:
score: 0
Accepted
time: 7ms
memory: 66176kb
input:
bbcccccbbbbccacbbccbbbcbcccccccccccbbcbcbbcc
output:
accccccccccccccccccccccccccbbbbbbbbbbbbbbbbb
result:
ok single line: 'accccccccccccccccccccccccccbbbbbbbbbbbbbbbbb'
Test #27:
score: 0
Accepted
time: 11ms
memory: 67284kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #28:
score: 0
Accepted
time: 7ms
memory: 67204kb
input:
aaabaabaabaabbabbbbbbbbaaabaaabbbbababbaa
output:
ababababababababababababababababababababb
result:
ok single line: 'ababababababababababababababababababababb'
Test #29:
score: 0
Accepted
time: 7ms
memory: 67372kb
input:
baaaabaaaababbbaaabaaaabbabaaabababbbbbbabaab
output:
aababababaababababaababababaababababaabababab
result:
ok single line: 'aababababaababababaababababaababababaabababab'
Test #30:
score: 0
Accepted
time: 3ms
memory: 67324kb
input:
ccaacccbbcccbbacbabaccaacccccacbacbbabcacac
output:
acbbbaccaccaccaccacbbbbacbbbaccaccaccaccacc
result:
ok single line: 'acbbbaccaccaccaccacbbbbacbbbaccaccaccaccacc'
Subtask #3:
score: 30
Accepted
Test #31:
score: 30
Accepted
time: 7ms
memory: 66464kb
input:
elppjxhjnqephxnnleeepqllpeellqpleexepxlqnpelnlpgplxejlpllppleppnllhjhppgneleghexegqpxpqlqhpnenhlgjjepelllpexplqeppexpqeghpplnpxegeeehqgnhxeqllplphlxpppqnhqephlqnxenlehpeplnqenheejhxqxleeljepehlngepgpxpllppeeheelpplpexpqgheelllplpqnllexlphepghllxnnepqjpqepjeheqqghhejhlnlnlqleeplepxhnlqlnppjpeelqeelxg...
output:
eppppnllllllllllllljjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexe...
result:
ok single line: 'eppppnllllllllllllljjjjjjjjjjj...llllllllllleppppnllllllllllllll'
Test #32:
score: 0
Accepted
time: 4ms
memory: 66268kb
input:
vqfiiyoutipohliojhwhyohiqholfovovhwvuffvifvlffiuwhphmoofjyhhjtfimiisjqwwjtvlotmpivlvyoilvwhhygofhvffoiftmyhpvjqypqfoihfhfjisoiwjujuqvijofilwqjjmqfymtiivfoplifwjplvfvfqvstlihfotqjfylowttwsyvsifvfhptpfovqilvujfyltohvmjtijhpiyffpvyiioyvjqpfjhshowphuttflpfojiovhvtiwfymfvwyooftimyumoomosjlitviowfhtoovlov...
output:
fwvvuuuuuuuttttttttttttttttttttttttttttssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllll...
result:
ok single line: 'fwvvuuuuuuuttttttttttttttttttt...uuttttttttttttttttttttttttttttt'
Test #33:
score: 0
Accepted
time: 4ms
memory: 66744kb
input:
hdkfjdurfkufuqjhfrhodhrqqsjjaduooafqrkfjhufjqfuqqjhryrahhyggkorjqfjraohrfrqkfjjqarkdfryrooyuoffuqfyyfhdjmhghumjojuafkdrqmohrahhyaaouqfjjojgjrykrhduoshqahquhhoqahokgkfhaojhkjkukafqqrdrsyfqahuqhqduqqufujohjgauoarjagfaaamjuqoqhqkrouuoryhhqyodjfqgjhykhryorguqkoffuyaqgoqodjragfrgkyojmodkuhyjyffuyyjajfhrf...
output:
aurrrqqqqqqqqqqqqoooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggg...
result:
ok single line: 'aurrrqqqqqqqqqqqqooooooooooooo...ooooooooooooooooooooooooooooooo'
Test #34:
score: 0
Accepted
time: 11ms
memory: 67904kb
input:
uksbcbnccbkuqbtebuykgybzbzzbgtznktgzgutckyxbetckqbzzybfybqtykskkccgzskutkqgzyygszkeqgyecbkzbgckktshzgzkbkbztbybgtnntzyezbgtkzgncqkctxegbztzyyggnbyybbuykghsxegkekxhsuynkzyxbzxkcnksezeyejgnytegsyzcgkkyygbxstgytkyeuuzzktknzkeuksnkzgckbzcnegnbkzkzzgzqjzgyshyeeggnceggcyhctqscftbtczcbtyzyskcyyezyyfekyfcgb...
output:
bzyttsssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqnnnnnnnnnnnnnnnnnnnnnnkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjhhhhhhhhgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggfffffffffff...
result:
ok single line: 'bzyttsssssssssssssssssssssssss...qqqqqqqqnnnnnnnnnnnnnnnnnnnnnnn'
Test #35:
score: 0
Accepted
time: 9ms
memory: 67824kb
input:
hhhccchhhcchhhcchccchcchccccchcchhchhchcchhhcchcccchhcchchccchhccccccchccccchhchcchcccchchhcchchccccchhhccccchhhchccchhccccchhchhccchccchchccccchhhccccchhcchchhchchchcchcchhhccccccccccchhhhcchchhcchhhhcchchcchcccchcchcccchchcccchcccchhhhccchcccchccccchhhcchcchchhccchchhhchcchcchcccchcchccchhccchhchc...
output:
cchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcch...
result:
ok single line: 'cchcchchcchchcchchcchchcchchcc...hcchchcchchcchchcchchcchchcchch'
Test #36:
score: 0
Accepted
time: 3ms
memory: 67316kb
input:
uuuucuuuuuuuuucupuuuupouuuuuuuuucducuuuuupuocupuuuuocuuuuuduuuicduuuuuuuuuuuuuiiuuucupuuuuuuuuocuuuucuuuuuuouuicccusuuuuuiuuuuuucuuuuucuuuuuiupuuuuuuucuccuuucucucuuduuuuuuuuucuuuuiuuuucccupouucuuuuuuuuuuuuuuuusuuuuouuduucuuuuuiuuuuuuiuuuuucuucuuuuuuucuupuuupuuuuuuououuduuuiiucuuucuuuouuucuucuuouccuu...
output:
cuuuuuuuupooiiiiiiiddddddddddcycycycycvcvcvcvcvcvcuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuuc...
result:
ok single line: 'cuuuuuuuupooiiiiiiiddddddddddc...icuuuuuuuupooiiiiiiiddddddddddd'
Test #37:
score: 0
Accepted
time: 7ms
memory: 67344kb
input:
vvvnvnnvnnvnnvvvvnvnnnvvvvnnvvnvnnvnvnnnvnnvvnvnvvnvnnvvvnvvnvnnvvnvnvnvvvvnnnvnvvvnnnvnvnnnnvvvvvnvvvvnvvvvvvvvnvvvvnnnnnnvnnnnnnnnnnvnvnvvvnvnvnvvvnvnnnvvvnvvnnnvvvvvvvnvnnnnvnvnvnvvvnvnvnvnvvvnnvvnvnvnnvvnnnnvvnnnnnnnvvnnnvvnvnnnvvnnvvvvvnvnvvnvnnnnnnnnnnnnvvnvvnnnvvvnvvvvvnnvvnvvvnnnnnnnnnvnvnnn...
output:
nnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnv...
result:
ok single line: 'nnvnvnvnvnvnvnvnnvnvnvnvnvnvnv...nvnvnvnvnvnvnvnnvnvnvnvnvnvnvnv'
Test #38:
score: 0
Accepted
time: 7ms
memory: 66380kb
input:
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
output:
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
result:
ok single line: 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii...iiiiiiiiiiiiiiiiiiiiiiiiiiiiiii'
Test #39:
score: 0
Accepted
time: 7ms
memory: 67084kb
input:
cmccbmcbcbcccbmbsbccbmsccbccmbccsbcsmmcbcmbcsscccmczccccsmsbcccbcbcccccmbcccccccccmcccbbccscsbscccmbcscccscscccbmbbccmbcccbcsmccbcccbmmtmccbccccccccccbcccmccccccctsccbcmmccbbjbccmcccccmcbccscbbccccbbccccmcccccbcbccmjcjccbmsmccmccmbbccczccccbccmcmbccccctcmcccmbmcccbccbccccmcbcbzccccbccbjscmccccccccmb...
output:
bmccccccccccccccccccbtbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbm...
result:
ok single line: 'bmccccccccccccccccccbtbsbsbsbs...cccccbzbmccccccccccccccccccbtbt'
Test #40:
score: 0
Accepted
time: 7ms
memory: 67448kb
input:
alwahhhhlalkakhkwhklahhhkkwwhkwkkaahahwwwalllaalkkahwkwlwhlkkwwalaawhlwwalhhahwkwwwaaalkawalhhlkahlalkahwhhlahaawhawawlllllakahhalhwhakhahlhwwlwawalkkkhwakakwwaakwkahhhwkhalawhklhlhkaawlalwahllklawlawllalwkhwlwkalahhahkhalwahhkhhkwhaakwahwlwakwwhalwlklwaahlwhkwawhhwaalwallhhlhhaklalhlhkawllwwlwawwkw...
output:
allllkkkkkkkkkkkkkkkkkkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhawawawawawawawawawawawawawawawawawawawawawawawawawawawawawawaw...
result:
ok single line: 'allllkkkkkkkkkkkkkkkkkkkkhhhhh...kkkkkallllkkkkkkkkkkkkkkkkkkkkk'
Test #41:
score: 0
Accepted
time: 11ms
memory: 68088kb
input:
ttivtpptbvfwnpfgenotbzfgnopootfvftvwftpffwvttsooskfgghnstppvtgttkgzebfztgppbkwsbowtfozftzkzzvbptbwpowtfgpzfhtwbsfpttgphfvfqtgtrprwbokftttvthtbzgfwgrpffkfpgppbbbtntspngfqtpzbsptofbvwtsvtpgbttepkptohstepbwfftgttgikgtsktwbtbwpotfpzsvbwvokpsfbozbeffbphbtbwohbbwvhppwqpwgvoetbtwpzbgfktteostptpsfbzpbttftfo...
output:
bwtttttttttttttttssssssssssssssrrrqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooonnnnnnnnnnnkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggggggggggggggggggggggfffffffffffffffffffffffffff...
result:
ok single line: 'bwtttttttttttttttsssssssssssss...ooooooooooooooooooonnnnnnnnnnnn'
Test #42:
score: 0
Accepted
time: 11ms
memory: 67152kb
input:
ockrlnuagbeakijumhfazdaavczvvbdlxxfaoauvzzcxicjlspeggksahxoxxcbscsjukyndenczvxbkxidaxbgavfkllngisjxscadmdinzcnasnvaknvhidnlqzvpvdlvgbsfyjhlzdnhvnpdcqsasflaidgvxldckldiucivxnacvchxamcjsdjojdnczvvisizzaahxiiapahgujhmbvbishkhounsvhmvsvpkvazadkalbzlksnanqqvldxkvybuvnukplackcblgfzdcmgxcaacblvmjacalzmlhvj...
output:
axxvvvvvvvuuuuuusssssssssssssssrqqqqqqqqppppppppppooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllllllllllllllllllllllllllllkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
result:
ok single line: 'axxvvvvvvvuuuuuussssssssssssss...sssssssssssrqqqqqqqqppppppppppp'
Test #43:
score: 0
Accepted
time: 11ms
memory: 66144kb
input:
nnynmrncmrnnmmmnmnmnmmmnynnmmmynnnnmmnmmmnnnymnmmmmnnmrnymcmnmmmnmtmmnmmmmmmmmmnmnynnynmnnynmnnmnnnnmnnnmmnmmmcmnmcmmmnnmnmnmmmnmnrnynmmmnmmnmmmnnynmnnnmmmmmmmnnmnynmnnrnnmnmnrmynnnmmmmcmmnmmnmnmmmymmmbnmmmrrmmmrmnnmnnmmnmnnmmnmrmmmmnmnnmnmnnnymmnyymmmnmmmmmmnnnmncncmmmmmmmmnnnmmmmtmnmemmnnebmmnrmnn...
output:
byyyyyyyyyyyyyyyyyyyyyttrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'byyyyyyyyyyyyyyyyyyyyyttrrrrrr...ccccccbyyyyyyyyyyyyyyyyyyyyyttt'
Test #44:
score: 0
Accepted
time: 8ms
memory: 66668kb
input:
uuuuuuuuuuuuuuuuuuuuuuuuuuuueuuuuuuuuuuuuuuuueuuuuueuuuuuuuxuuuuuuuuuuueuuuuuueuuuuueuuuuuuueuuuuuuuuuuuuuuueuuuuuuuuuueueuueuuuuuuuuuuuueueeuuuuuueuuuuuueeuuuuuuuuuuuuuuueuuuuuuuuuuuueuuuuzuzuuuuuuuuuuuuuuuuuueuueuuuuuuuuuuuuuuuuuuueueuuuuuuuuuuuueuuuuueuuuuueuuuuuuuuuuuuuueueuuuuuuuzuuuuuxuzuuuuuu...
output:
azuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...
result:
ok single line: 'azuuuuuuuuuuuuuuuuuuuuuuuuuuuu...eeeeeeeeeeeeeeeeeeeeeeazxazxazv'
Test #45:
score: 0
Accepted
time: 18ms
memory: 67244kb
input:
beemeegeeesbbmeeeepgsmebeeeseegbgeebeeeebeeseeeoegeseesbgeegmggeegpegggebgmbggespegeeegeeggsbbeebebebesbbegmeebbeeeeeegeeegeebemmembeebsseeeembeeeebbgeseseeebebebseeesebbseeeebeeeeeeebeebpbeeeeeeoembebebggeeeegeeeesgeeeseeemmgpbgsgesegbbegeegeebgeebeeebebgembbbmsmggeeesgebbgeeeeseebebgbbeeesbeeesobg...
output:
bmgggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeebsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbpbpbpbpbobobobobobmmbmmbmmbmmbmmbmmbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmgggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'bmgggeeeeeeeeeeeeeeeeeeeeeeeee...sbsbsbsbsbsbpbpbpbpbobobobobobo'
Subtask #4:
score: 40
Accepted
Test #46:
score: 40
Accepted
time: 132ms
memory: 70600kb
input:
ksetiktesataqqwcetteiqcqtwakaiaaaqciceaticteectqqtcaectqtsticctqeqeeiieecaqtctctqqeqitqtttccccctikacktaaqteictwstcitttectaitttiqeqasskkqaateeaatqaetttccesqitiecatgqqaqitwqtaqqcqittittiswcweaiqicqiecwtccakaattgtickccqkqckaaewkekccggtiiqqsttcqactiqeaeqtiigeekettaieekectqqckqqteiceacwecktaiteaceaqkqeic...
output:
atsqqqkiiiiiiiiiggggeeeeeeeeeeeeeecccccccccccccccccccccccccccawawawawawawawawawawawawattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattat...
result:
ok single line: 'atsqqqkiiiiiiiiiggggeeeeeeeeee...eeecccccccccccccccccccccccccccc'
Test #47:
score: 0
Accepted
time: 136ms
memory: 69728kb
input:
btojojooojottoonoonjjojjwoooonoonjowtjotjotooojjootjjjobjtnoojootojojojbtnojonooojnjtonotootjnotbttojotntoojjqjoojjnooojjjjwojtooojonjotoooojtotjooooooojjoontjnooootjoojjojojtooojoojjojojoooobojjjonjjtoojjjottjojooottootooojoojjotottooooootooobtjoototojjjwnonnjotooojjjotwjoooooootojoootojtotjtjootno...
output:
awwwwwwwwttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'awwwwwwwwttttttttttttttttttttt...nnnnnnnnnnnnnnnnnnnnnnnnnmmmmmm'
Test #48:
score: 0
Accepted
time: 123ms
memory: 69088kb
input:
ezjeqyecllxezecyqciqeydiqwoxwmjzcvfjwmdvyfqdmljjecfdfvdrcjcozcfqmyymljxmcdqyjckmifipcjibyxeoccdodjcjyecijqqvqejjroeflfrwzcvdrijqzwlzjdzwvkyzmqfffdlmmqzljwmvviodzqfkywfwdwlylcowviqfjvyxzwxzxyxxlqjofxcifmrlvdmlefdljfrxcqmjrwlecdzmillwjqcdzcqdlfjkmezjlfmxlyjxwjjvmwmbjqexcxdqfclyzxyjqeqmjzijwcxpizffzxjw...
output:
bzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...
result:
ok single line: 'bzzzzzzzzzzzzzzyyyyyyyyyyyyyyy...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn'
Test #49:
score: 0
Accepted
time: 138ms
memory: 69756kb
input:
ledqbfbjoucueufjuolofktuhfbtkndxeuxcobdchcdbokcssokijopbibhnfhbuqhbouhhxcmshpgthootqbgfuoxgoqjudcctnbgcfihbduxlhutckfifhutucccgbsobgmxaghgclqcblbubhialhcqdibfgwusomohwnnujwtkkwdhwbuocguoxwuugfxufbuuuxcocokxdtuguohuudwqghgjluuflomqbbhbbbmduosgsfkhwnulquooxfudhfkxbowcuugxibnuuxfhgqhphbfwutffxwchwoqjhu...
output:
axxxxxxxwwwwwwwuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'axxxxxxxwwwwwwwuuuuuuuuuuuuuuu...kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk'
Test #50:
score: 0
Accepted
time: 118ms
memory: 70080kb
input:
ggpgpgpgggsgggggygyppgggggggggggppgpgngggggpgsggggpgggsggqppggggggpppggpsgggggsgggpgpgggqgpppppppgggpqsgggggqpgggyggggggggggpgggqgsggggsgggpgggggggpgpgppypggpgggggggqggggggpqpggpgnspgpyppqpqggggpggpggggggsggqgpspgggppgnpgggggggpggqgggpgggggppqgpgpggpspgppsggggggpgggzyggpggnggygsppggggppgggppppbpgggg...
output:
bzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyysssssssssssssssssssssssssssssssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...
result:
ok single line: 'bzzzzzzyyyyyyyyyyyyyyyyyyyyyyy...lllllllllllllllllllllllllllllli'
Test #51:
score: 0
Accepted
time: 124ms
memory: 66964kb
input:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
output:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee...eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
Test #52:
score: 0
Accepted
time: 100ms
memory: 69484kb
input:
qaaqqyyqqaqqqaqyyaaqyqyaayqyqayaayaqqqqqqqaqayaqqyqqyqaqqaqqayqyqqqqaaaqyyqaayayaqaqyaaqqqqaqaqqyaqaqqqayqayyqqqqqayayayaqaaaqqyqaaqaaqqaqqqqqaqaqaqqqqaayaqyqqqaqaqqaqqaaqyqqyyyaqqaayaayaqqaaaayyaqaaaqqqyyyaayayqqaqyqaqaqyqyqqyaqqaqyaqaqayyyaqqqqqaaqaqaaaaqaqaqyaaaqaqyqaaqqqqyqaqqayayqaaaaaayqaqyqyq...
output:
aqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqq...
result:
ok single line: 'aqqqayayaqqqayayaqqqayayayaqqq...yayaqqqayayayaqqqayayaqqqayayay'
Test #53:
score: 0
Accepted
time: 102ms
memory: 69156kb
input:
oocchuuuohhchuouhuucuuucuuuhhcuhhhuuucuhuchuuohhuuuxuchhuchhoccuuuuhohcuucohhuuucuhuhohhhuhuuuuxhuuuhcuhuuuuhuohuchhcohuuvcuuhuochuccocoucccuhhocuuccohuhouocuuuuuuhucouhuuuhouhouuocuuoucucuhhuouhuchhhhhuuhucccuohuuuuuuhchhuhccuhuhcuocuuuocohhcouuhhuhouuhuccchhouuuhuhhuhccuhchhuhuhuuuhuhhchuhhuuhuohx...
output:
cuuuuuoohhhhhhhhhcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvc...
result:
ok single line: 'cuuuuuoohhhhhhhhhcxcxcxcxcxcxc...uupcuuuuupcuuuuupcuuuuupcuuuuup'
Test #54:
score: 0
Accepted
time: 133ms
memory: 69616kb
input:
zstqymkfytimruprejqwndtbllprlcrqpreepnzimyuzvccsrxdlyulbywprkyhrhwldyqgrceuelnbruprqzzpwbfzrncoeborzfuezjxfqtqxbmdbmerbfguerwbyflnzqusxumprlefykgcdczffuxuokppuymupkqtncprgfyvufsaemsdznatosqfgnzxrynpbbnbcnlsydeetlfemypgppynfluyxxpbdufxbecgpyujcfebonnfecespzoobmlnttrrwjqytnetdxeropzalmoolrrmwuouneuyrt...
output:
azzzyyyxxxwwwwuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
result:
ok single line: 'azzzyyyxxxwwwwuuuuuuuuuuuuuuuu...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn'
Test #55:
score: 0
Accepted
time: 109ms
memory: 69668kb
input:
zzzzzczzsszzzsszczzzzszzszszzzzzzzszzzzzzzzzzzzczzzzszzsczzzsczsszzzzzszzzszzzzzzzzzczsczzzczczzzszsszzzzszzzszzczzzzzzzzssszzzczzzzzzzzzzzzzzszzzzzzzszszzzzzzzzzzszszzzzzszzszzwzzzszzzzzczzzzzzzzzzzzzzzzzzzzzzzszzzzzzzzdzzzzsszzzszzzzzzzzzzzzzszzczzzzzzzzzzzzczszzszzzzzzzzzzzzszzzzzzzszczzzzzzzzzzc...
output:
czzzzzzzzzzzzzzzzzzzzssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssddczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzz...
result:
ok single line: 'czzzzzzzzzzzzzzzzzzzzsssssssss...zzzzzzzzzczzzzzzzzzzzzzzzzzzzzz'
Test #56:
score: 0
Accepted
time: 124ms
memory: 71324kb
input:
xfooodoxxzowpxdowoddxxwpfopzzxwdfopxzvdopxdxdxzddzwwozovwxazopzxwdxdpdzfopxdfzdofddxowpfzwwpxpxpopwwodzodxpoxzzoazxwxwdwaozxzxoozowpzpxpwzdpowwdwzdoxfxwfwpopodxwozapwwxpdzodopxppdzoxodzwodzoppowwddozwzzpddovfpvpxodwzzpopxpwfzoozoopodxzddaxodxppppozwzdfzwofwdzopfffzpoxawxxdxopoxadzpodxzxxxzzpowxoowdz...
output:
azzzzzzzzzxxxxxxxwwwwwwwwwwvvvvvvvpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
result:
ok single line: 'azzzzzzzzzxxxxxxxwwwwwwwwwwvvv...zzzzzzxxxxxxxwwwwwwwwwwvvvvvvvv'
Test #57:
score: 0
Accepted
time: 148ms
memory: 71040kb
input:
gqvvtevrqqovrmrxvrvemvjtjotxtvtjvotorrooqqmrqjtqxetrjvqmeevqqortovtqeorxttmggrvrvvrjovvgqmegtqrrvqgevvertrvtqexvrmvomvtrvtorqrxmttvqrqtqroverxrjvtovtvrrqeettvvqmotrtettrvqtovorvmtvtqomtvoovtevtqorvtjvqvxetrmtqtqototormrrtverrtqootvmmromevgvvtqegvrooortmotrvvtqorrverqoxvqqtvmrrvxrxrvotoegototvtjvtvvr...
output:
evvvvtttttttttrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
result:
ok single line: 'evvvvtttttttttrrrrrrrrrrrrrqqq...qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq'
Test #58:
score: 0
Accepted
time: 123ms
memory: 70420kb
input:
tqukuknnuytpvtyyttquuvvuyqkukvkqvyvuytuunuqyqqyuqkkynuyyyttunyyqtvukuqyutyqvuvtkyykuqnktquqquuntkyktvuvnynuuttkqutqvyqnyuyyqkkyyykvaqyyunyyktqtukkqukkvtvknvytpquukyytvvvyuqktunyqtyavyuqpvvutuqqttquyyyqquktkyyytqtqkuvuqvqvykkunktttttkpytututukyuvkpkqvqtqyyuuqvyvytytuuqvttyyyvvunyuktqyaqkuqayvttaunykp...
output:
ayyyyyyyvvvvvvvuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'ayyyyyyyvvvvvvvuuuuuuuuuuuuuuu...qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq'
Test #59:
score: 0
Accepted
time: 106ms
memory: 69168kb
input:
yeeeeeceeeeeeeeeeteeeetyryjyeyxeeyteeeeeeexyeryeeyyeeyyyeeeceeeyeeyceyeeeeyeeeeetreejyyeyeeeeyeeryeeeeeeereteeteejeteecyeereteeeeeyeeyeeyeeryeeyeeceyyyeyeeyyeeeexeyyyyyxyyeeereeexeeceertereeeceeeyyeyeeeyecyreyeyeyeeeteeeetteeyeeexeeyyeeetyceeecyeyyeeeyeeeeyryyeycyereeeeeeeeyyeeeeeecyeryyeyeeyeeyteyy...
output:
cyyyyyyxttttrrrrrrrrrrrrrrrrrjjjjjjjjjjjjjjjjjjjjjjjeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'cyyyyyyxttttrrrrrrrrrrrrrrrrrj...rcyyyyyyxttttrrrrrrrrrrrrrrrrrr'
Test #60:
score: 0
Accepted
time: 118ms
memory: 71612kb
input:
jcjoococjcjcojcjocoococococjjojocjjjjjjjjcoooojjjjcojcoojjjcjjjjojojjcccjcojcoojjjjjjcccoccojojjjjjoccojoocccjjojjjjccjcjcojjojcjcojooojjjcojjjcjoojcoocojcjjjojjjccjojjjjcocjojjcojjcjcjojocoojjjcooooojjcojjccjccjjojojojccojcjcocjjcjcjcooojocjcjjcojjcccocjcjcocjcjjoojjjccocccjjjcjjjjcjcjjjjojcococjcj...
output:
cjjjjjjcococococococococococococjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjcocococococococococococococjjjjjjcocococococococococococococjjjjjjcocococococo...
result:
ok single line: 'cjjjjjjcocococococococococococ...jjjjjcococococococococococococo'