QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#399233 | #7773. 重排 | james1BadCreeper | 100 ✓ | 27ms | 8720kb | C++14 | 756b | 2024-04-26 07:58:19 | 2024-04-26 07:58:20 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
int a, b, c;
map<string, int> s;
int main(void) {
ios::sync_with_stdio(0); cin.tie(0);
string t; cin >> t;
for (int i = 0; i < t.size(); ++i) {
char it = t[i];
string to = "";
to += t[i];
++s[to];
}
while (s.size() > 1) {
auto [_S, Sc] = *s.begin(); auto S = _S;
auto [_T, Tc] = *--s.end(); auto T = _T;
s.erase(s.begin()), s.erase(prev(s.end()));
int x = (Tc - 1) / Sc, y = (x + 1) * Sc - Tc;
while (x--) S += T;
if (y) s[S] = y;
if (Sc - y) s[S + T] = Sc - y;
}
auto [S, Sc] = *s.begin();
while (Sc--) cout << S; cout << "\n";
return 0;
}
详细
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 1ms
memory: 3564kb
input:
mmmmmmmmm
output:
mmmmmmmmm
result:
ok single line: 'mmmmmmmmm'
Test #2:
score: 10
Accepted
time: 0ms
memory: 3568kb
input:
qqymfqgj
output:
fyqqqmjg
result:
ok single line: 'fyqqqmjg'
Test #3:
score: 10
Accepted
time: 0ms
memory: 3564kb
input:
wtzyztttz
output:
tywtztztz
result:
ok single line: 'tywtztztz'
Test #4:
score: 10
Accepted
time: 0ms
memory: 3796kb
input:
bcbccccbcc
output:
bccbccbccc
result:
ok single line: 'bccbccbccc'
Test #5:
score: 10
Accepted
time: 0ms
memory: 3560kb
input:
hojqbzgfb
output:
bqojhgfbz
result:
ok single line: 'bqojhgfbz'
Test #6:
score: 10
Accepted
time: 0ms
memory: 3560kb
input:
rjyrbjqlz
output:
bzyrrqljj
result:
ok single line: 'bzyrrqljj'
Test #7:
score: 10
Accepted
time: 0ms
memory: 3668kb
input:
oiyholvco
output:
cyvooolih
result:
ok single line: 'cyvooolih'
Test #8:
score: 10
Accepted
time: 0ms
memory: 3568kb
input:
ubbnfttog
output:
bttongfbu
result:
ok single line: 'bttongfbu'
Test #9:
score: 10
Accepted
time: 0ms
memory: 3796kb
input:
hhuhttttj
output:
htthuhttj
result:
ok single line: 'htthuhttj'
Test #10:
score: 10
Accepted
time: 0ms
memory: 3568kb
input:
rnurrrrkrr
output:
kurrrrrrrn
result:
ok single line: 'kurrrrrrrn'
Test #11:
score: 10
Accepted
time: 0ms
memory: 3640kb
input:
wwwwrrwwrr
output:
rwrwwrwrww
result:
ok single line: 'rwrwwrwrww'
Test #12:
score: 10
Accepted
time: 0ms
memory: 3872kb
input:
tppvcjlls
output:
cvtsppllj
result:
ok single line: 'cvtsppllj'
Test #13:
score: 10
Accepted
time: 0ms
memory: 3568kb
input:
fyrrwriyxr
output:
fyyxwrrrri
result:
ok single line: 'fyyxwrrrri'
Test #14:
score: 10
Accepted
time: 1ms
memory: 3572kb
input:
ouulnlasnu
output:
auuusonnll
result:
ok single line: 'auuusonnll'
Test #15:
score: 10
Accepted
time: 0ms
memory: 3620kb
input:
aasapssss
output:
aspassass
result:
ok single line: 'aspassass'
Subtask #2:
score: 20
Accepted
Test #16:
score: 20
Accepted
time: 0ms
memory: 3580kb
input:
bbbbbbbcbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
output:
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbc
result:
ok single line: 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbc'
Test #17:
score: 20
Accepted
time: 1ms
memory: 3600kb
input:
aaaaaaaabcaabacacaaaacaaabaaaabaabaaaaac
output:
aaabaaacaaabaaacaaabaaacaaabaaacaaabaaac
result:
ok single line: 'aaabaaacaaabaaacaaabaaacaaabaaacaaabaaac'
Test #18:
score: 20
Accepted
time: 0ms
memory: 3632kb
input:
abbcbbbabbacbbbbabcbbbabbbcbabbbababbaabbbb
output:
abbbbacacacacabbbbbabbbbbabbbbbabbbbbabbbbb
result:
ok single line: 'abbbbacacacacabbbbbabbbbbabbbbbabbbbbabbbbb'
Test #19:
score: 20
Accepted
time: 0ms
memory: 3796kb
input:
baaaabaaaaabaaaaaaaaabaaaaaaaaabaaabbaaaaaaaaabaa
output:
aaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaab
result:
ok single line: 'aaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaabaaaaab'
Test #20:
score: 20
Accepted
time: 0ms
memory: 3624kb
input:
aaabbaaaaaaabbaaaaaaabaaaaaaabaaaaaaaabbbaaaaaa
output:
aaaaabaaaabaaaabaaaabaaaaabaaaabaaaabaaaabaaaab
result:
ok single line: 'aaaaabaaaabaaaabaaaabaaaaabaaaabaaaabaaaabaaaab'
Test #21:
score: 20
Accepted
time: 0ms
memory: 3660kb
input:
bcccbcaababccbcbbccbacbbcabcbbbbacbccaabccaccb
output:
accbbaccbbaccbbbaccbbaccbbaccbbbaccbbaccbbaccc
result:
ok single line: 'accbbaccbbaccbbbaccbbaccbbaccbbbaccbbaccbbaccc'
Test #22:
score: 20
Accepted
time: 0ms
memory: 3568kb
input:
caaaacacacaaacacccaaacacaacaaccbcacbaaccccbcaaac
output:
abacacacacacacacabacacacacacacacabacacacacacacac
result:
ok single line: 'abacacacacacacacabacacacacacacacabacacacacacacac'
Test #23:
score: 20
Accepted
time: 0ms
memory: 3596kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #24:
score: 20
Accepted
time: 0ms
memory: 3604kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #25:
score: 20
Accepted
time: 0ms
memory: 3560kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #26:
score: 20
Accepted
time: 0ms
memory: 3568kb
input:
bbcccccbbbbccacbbccbbbcbcccccccccccbbcbcbbcc
output:
accccccccccccccccccccccccccbbbbbbbbbbbbbbbbb
result:
ok single line: 'accccccccccccccccccccccccccbbbbbbbbbbbbbbbbb'
Test #27:
score: 20
Accepted
time: 0ms
memory: 3632kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #28:
score: 20
Accepted
time: 0ms
memory: 3824kb
input:
aaabaabaabaabbabbbbbbbbaaabaaabbbbababbaa
output:
ababababababababababababababababababababb
result:
ok single line: 'ababababababababababababababababababababb'
Test #29:
score: 20
Accepted
time: 0ms
memory: 3564kb
input:
baaaabaaaababbbaaabaaaabbabaaabababbbbbbabaab
output:
aababababaababababaababababaababababaabababab
result:
ok single line: 'aababababaababababaababababaababababaabababab'
Test #30:
score: 20
Accepted
time: 0ms
memory: 3604kb
input:
ccaacccbbcccbbacbabaccaacccccacbacbbabcacac
output:
acbbbaccaccaccaccacbbbbacbbbaccaccaccaccacc
result:
ok single line: 'acbbbaccaccaccaccacbbbbacbbbaccaccaccaccacc'
Subtask #3:
score: 30
Accepted
Test #31:
score: 30
Accepted
time: 0ms
memory: 3524kb
input:
elppjxhjnqephxnnleeepqllpeellqpleexepxlqnpelnlpgplxejlpllppleppnllhjhppgneleghexegqpxpqlqhpnenhlgjjepelllpexplqeppexpqeghpplnpxegeeehqgnhxeqllplphlxpppqnhqephlqnxenlehpeplnqenheejhxqxleeljepehlngepgpxpllppeeheelpplpexpqgheelllplpqnllexlphepghllxnnepqjpqepjeheqqghhejhlnlnlqleeplepxhnlqlnppjpeelqeelxg...
output:
eppppnllllllllllllljjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexexe...
result:
ok single line: 'eppppnllllllllllllljjjjjjjjjjj...llllllllllleppppnllllllllllllll'
Test #32:
score: 30
Accepted
time: 1ms
memory: 3860kb
input:
vqfiiyoutipohliojhwhyohiqholfovovhwvuffvifvlffiuwhphmoofjyhhjtfimiisjqwwjtvlotmpivlvyoilvwhhygofhvffoiftmyhpvjqypqfoihfhfjisoiwjujuqvijofilwqjjmqfymtiivfoplifwjplvfvfqvstlihfotqjfylowttwsyvsifvfhptpfovqilvujfyltohvmjtijhpiyffpvyiioyvjqpfjhshowphuttflpfojiovhvtiwfymfvwyooftimyumoomosjlitviowfhtoovlov...
output:
fwvvuuuuuuuttttttttttttttttttttttttttttssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllll...
result:
ok single line: 'fwvvuuuuuuuttttttttttttttttttt...uuttttttttttttttttttttttttttttt'
Test #33:
score: 30
Accepted
time: 0ms
memory: 3820kb
input:
hdkfjdurfkufuqjhfrhodhrqqsjjaduooafqrkfjhufjqfuqqjhryrahhyggkorjqfjraohrfrqkfjjqarkdfryrooyuoffuqfyyfhdjmhghumjojuafkdrqmohrahhyaaouqfjjojgjrykrhduoshqahquhhoqahokgkfhaojhkjkukafqqrdrsyfqahuqhqduqqufujohjgauoarjagfaaamjuqoqhqkrouuoryhhqyodjfqgjhykhryorguqkoffuyaqgoqodjragfrgkyojmodkuhyjyffuyyjajfhrf...
output:
aurrrqqqqqqqqqqqqoooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhggg...
result:
ok single line: 'aurrrqqqqqqqqqqqqooooooooooooo...ooooooooooooooooooooooooooooooo'
Test #34:
score: 30
Accepted
time: 0ms
memory: 3852kb
input:
uksbcbnccbkuqbtebuykgybzbzzbgtznktgzgutckyxbetckqbzzybfybqtykskkccgzskutkqgzyygszkeqgyecbkzbgckktshzgzkbkbztbybgtnntzyezbgtkzgncqkctxegbztzyyggnbyybbuykghsxegkekxhsuynkzyxbzxkcnksezeyejgnytegsyzcgkkyygbxstgytkyeuuzzktknzkeuksnkzgckbzcnegnbkzkzzgzqjzgyshyeeggnceggcyhctqscftbtczcbtyzyskcyyezyyfekyfcgb...
output:
bzyttsssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqnnnnnnnnnnnnnnnnnnnnnnkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjhhhhhhhhgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggfffffffffff...
result:
ok single line: 'bzyttsssssssssssssssssssssssss...qqqqqqqqnnnnnnnnnnnnnnnnnnnnnnn'
Test #35:
score: 30
Accepted
time: 0ms
memory: 3632kb
input:
hhhccchhhcchhhcchccchcchccccchcchhchhchcchhhcchcccchhcchchccchhccccccchccccchhchcchcccchchhcchchccccchhhccccchhhchccchhccccchhchhccchccchchccccchhhccccchhcchchhchchchcchcchhhccccccccccchhhhcchchhcchhhhcchchcchcccchcchcccchchcccchcccchhhhccchcccchccccchhhcchcchchhccchchhhchcchcchcccchcchccchhccchhchc...
output:
cchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchcchchcchchcchchcchchcchchcchchcchchcchcchchcchchcch...
result:
ok single line: 'cchcchchcchchcchchcchchcchchcc...hcchchcchchcchchcchchcchchcchch'
Test #36:
score: 30
Accepted
time: 1ms
memory: 3656kb
input:
uuuucuuuuuuuuucupuuuupouuuuuuuuucducuuuuupuocupuuuuocuuuuuduuuicduuuuuuuuuuuuuiiuuucupuuuuuuuuocuuuucuuuuuuouuicccusuuuuuiuuuuuucuuuuucuuuuuiupuuuuuuucuccuuucucucuuduuuuuuuuucuuuuiuuuucccupouucuuuuuuuuuuuuuuuusuuuuouuduucuuuuuiuuuuuuiuuuuucuucuuuuuuucuupuuupuuuuuuououuduuuiiucuuucuuuouuucuucuuouccuu...
output:
cuuuuuuuupooiiiiiiiddddddddddcycycycycvcvcvcvcvcvcuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuucuuuuuuuuuc...
result:
ok single line: 'cuuuuuuuupooiiiiiiiddddddddddc...icuuuuuuuupooiiiiiiiddddddddddd'
Test #37:
score: 30
Accepted
time: 0ms
memory: 3640kb
input:
vvvnvnnvnnvnnvvvvnvnnnvvvvnnvvnvnnvnvnnnvnnvvnvnvvnvnnvvvnvvnvnnvvnvnvnvvvvnnnvnvvvnnnvnvnnnnvvvvvnvvvvnvvvvvvvvnvvvvnnnnnnvnnnnnnnnnnvnvnvvvnvnvnvvvnvnnnvvvnvvnnnvvvvvvvnvnnnnvnvnvnvvvnvnvnvnvvvnnvvnvnvnnvvnnnnvvnnnnnnnvvnnnvvnvnnnvvnnvvvvvnvnvvnvnnnnnnnnnnnnvvnvvnnnvvvnvvvvvnnvvnvvvnnnnnnnnnvnvnnn...
output:
nnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnvnvnvnvnnvnvnvnv...
result:
ok single line: 'nnvnvnvnvnvnvnvnnvnvnvnvnvnvnv...nvnvnvnvnvnvnvnnvnvnvnvnvnvnvnv'
Test #38:
score: 30
Accepted
time: 0ms
memory: 3600kb
input:
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
output:
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
result:
ok single line: 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii...iiiiiiiiiiiiiiiiiiiiiiiiiiiiiii'
Test #39:
score: 30
Accepted
time: 0ms
memory: 3636kb
input:
cmccbmcbcbcccbmbsbccbmsccbccmbccsbcsmmcbcmbcsscccmczccccsmsbcccbcbcccccmbcccccccccmcccbbccscsbscccmbcscccscscccbmbbccmbcccbcsmccbcccbmmtmccbccccccccccbcccmccccccctsccbcmmccbbjbccmcccccmcbccscbbccccbbccccmcccccbcbccmjcjccbmsmccmccmbbccczccccbccmcmbccccctcmcccmbmcccbccbccccmcbcbzccccbccbjscmccccccccmb...
output:
bmccccccccccccccccccbtbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbmmbm...
result:
ok single line: 'bmccccccccccccccccccbtbsbsbsbs...cccccbzbmccccccccccccccccccbtbt'
Test #40:
score: 30
Accepted
time: 0ms
memory: 3580kb
input:
alwahhhhlalkakhkwhklahhhkkwwhkwkkaahahwwwalllaalkkahwkwlwhlkkwwalaawhlwwalhhahwkwwwaaalkawalhhlkahlalkahwhhlahaawhawawlllllakahhalhwhakhahlhwwlwawalkkkhwakakwwaakwkahhhwkhalawhklhlhkaawlalwahllklawlawllalwkhwlwkalahhahkhalwahhkhhkwhaakwahwlwakwwhalwlklwaahlwhkwawhhwaalwallhhlhhaklalhlhkawllwwlwawwkw...
output:
allllkkkkkkkkkkkkkkkkkkkkhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhawawawawawawawawawawawawawawawawawawawawawawawawawawawawawawaw...
result:
ok single line: 'allllkkkkkkkkkkkkkkkkkkkkhhhhh...kkkkkallllkkkkkkkkkkkkkkkkkkkkk'
Test #41:
score: 30
Accepted
time: 1ms
memory: 3656kb
input:
ttivtpptbvfwnpfgenotbzfgnopootfvftvwftpffwvttsooskfgghnstppvtgttkgzebfztgppbkwsbowtfozftzkzzvbptbwpowtfgpzfhtwbsfpttgphfvfqtgtrprwbokftttvthtbzgfwgrpffkfpgppbbbtntspngfqtpzbsptofbvwtsvtpgbttepkptohstepbwfftgttgikgtsktwbtbwpotfpzsvbwvokpsfbozbeffbphbtbwohbbwvhppwqpwgvoetbtwpzbgfktteostptpsfbzpbttftfo...
output:
bwtttttttttttttttssssssssssssssrrrqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooonnnnnnnnnnnkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkiiiiiiiiiiiihhhhhhhhhhhhhhhhhhhhhhhhhhhggggggggggggggggggggggggggggggggggggggggggggggggggggfffffffffffffffffffffffffff...
result:
ok single line: 'bwtttttttttttttttsssssssssssss...ooooooooooooooooooonnnnnnnnnnnn'
Test #42:
score: 30
Accepted
time: 0ms
memory: 3892kb
input:
ockrlnuagbeakijumhfazdaavczvvbdlxxfaoauvzzcxicjlspeggksahxoxxcbscsjukyndenczvxbkxidaxbgavfkllngisjxscadmdinzcnasnvaknvhidnlqzvpvdlvgbsfyjhlzdnhvnpdcqsasflaidgvxldckldiucivxnacvchxamcjsdjojdnczvvisizzaahxiiapahgujhmbvbishkhounsvhmvsvpkvazadkalbzlksnanqqvldxkvybuvnukplackcblgfzdcmgxcaacblvmjacalzmlhvj...
output:
axxvvvvvvvuuuuuusssssssssssssssrqqqqqqqqppppppppppooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllllllllllllllllllllllllllllkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
result:
ok single line: 'axxvvvvvvvuuuuuussssssssssssss...sssssssssssrqqqqqqqqppppppppppp'
Test #43:
score: 30
Accepted
time: 0ms
memory: 3840kb
input:
nnynmrncmrnnmmmnmnmnmmmnynnmmmynnnnmmnmmmnnnymnmmmmnnmrnymcmnmmmnmtmmnmmmmmmmmmnmnynnynmnnynmnnmnnnnmnnnmmnmmmcmnmcmmmnnmnmnmmmnmnrnynmmmnmmnmmmnnynmnnnmmmmmmmnnmnynmnnrnnmnmnrmynnnmmmmcmmnmmnmnmmmymmmbnmmmrrmmmrmnnmnnmmnmnnmmnmrmmmmnmnnmnmnnnymmnyymmmnmmmmmmnnnmncncmmmmmmmmnnnmmmmtmnmemmnnebmmnrmnn...
output:
byyyyyyyyyyyyyyyyyyyyyttrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'byyyyyyyyyyyyyyyyyyyyyttrrrrrr...ccccccbyyyyyyyyyyyyyyyyyyyyyttt'
Test #44:
score: 30
Accepted
time: 0ms
memory: 3840kb
input:
uuuuuuuuuuuuuuuuuuuuuuuuuuuueuuuuuuuuuuuuuuuueuuuuueuuuuuuuxuuuuuuuuuuueuuuuuueuuuuueuuuuuuueuuuuuuuuuuuuuuueuuuuuuuuuueueuueuuuuuuuuuuuueueeuuuuuueuuuuuueeuuuuuuuuuuuuuuueuuuuuuuuuuuueuuuuzuzuuuuuuuuuuuuuuuuuueuueuuuuuuuuuuuuuuuuuuueueuuuuuuuuuuuueuuuuueuuuuueuuuuuuuuuuuuuueueuuuuuuuzuuuuuxuzuuuuuu...
output:
azuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu...
result:
ok single line: 'azuuuuuuuuuuuuuuuuuuuuuuuuuuuu...eeeeeeeeeeeeeeeeeeeeeeazxazxazv'
Test #45:
score: 30
Accepted
time: 0ms
memory: 3608kb
input:
beemeegeeesbbmeeeepgsmebeeeseegbgeebeeeebeeseeeoegeseesbgeegmggeegpegggebgmbggespegeeegeeggsbbeebebebesbbegmeebbeeeeeegeeegeebemmembeebsseeeembeeeebbgeseseeebebebseeesebbseeeebeeeeeeebeebpbeeeeeeoembebebggeeeegeeeesgeeeseeemmgpbgsgesegbbegeegeebgeebeeebebgembbbmsmggeeesgebbgeeeeseebebgbbeeesbeeesobg...
output:
bmgggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeebsbsbsbsbsbsbsbsbsbsbsbsbsbsbsbpbpbpbpbobobobobobmmbmmbmmbmmbmmbmmbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmggggbmgggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'bmgggeeeeeeeeeeeeeeeeeeeeeeeee...sbsbsbsbsbsbpbpbpbpbobobobobobo'
Subtask #4:
score: 40
Accepted
Test #46:
score: 40
Accepted
time: 20ms
memory: 8616kb
input:
ksetiktesataqqwcetteiqcqtwakaiaaaqciceaticteectqqtcaectqtsticctqeqeeiieecaqtctctqqeqitqtttccccctikacktaaqteictwstcitttectaitttiqeqasskkqaateeaatqaetttccesqitiecatgqqaqitwqtaqqcqittittiswcweaiqicqiecwtccakaattgtickccqkqckaaewkekccggtiiqqsttcqactiqeaeqtiigeekettaieekectqqckqqteiceacwecktaiteaceaqkqeic...
output:
atsqqqkiiiiiiiiiggggeeeeeeeeeeeeeecccccccccccccccccccccccccccawawawawawawawawawawawawattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattattat...
result:
ok single line: 'atsqqqkiiiiiiiiiggggeeeeeeeeee...eeecccccccccccccccccccccccccccc'
Test #47:
score: 40
Accepted
time: 14ms
memory: 8012kb
input:
btojojooojottoonoonjjojjwoooonoonjowtjotjotooojjootjjjobjtnoojootojojojbtnojonooojnjtonotootjnotbttojotntoojjqjoojjnooojjjjwojtooojonjotoooojtotjooooooojjoontjnooootjoojjojojtooojoojjojojoooobojjjonjjtoojjjottjojooottootooojoojjotottooooootooobtjoototojjjwnonnjotooojjjotwjoooooootojoootojtotjtjootno...
output:
awwwwwwwwttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'awwwwwwwwttttttttttttttttttttt...nnnnnnnnnnnnnnnnnnnnnnnnnmmmmmm'
Test #48:
score: 40
Accepted
time: 27ms
memory: 7780kb
input:
ezjeqyecllxezecyqciqeydiqwoxwmjzcvfjwmdvyfqdmljjecfdfvdrcjcozcfqmyymljxmcdqyjckmifipcjibyxeoccdodjcjyecijqqvqejjroeflfrwzcvdrijqzwlzjdzwvkyzmqfffdlmmqzljwmvviodzqfkywfwdwlylcowviqfjvyxzwxzxyxxlqjofxcifmrlvdmlefdljfrxcqmjrwlecdzmillwjqcdzcqdlfjkmezjlfmxlyjxwjjvmwmbjqexcxdqfclyzxyjqeqmjzijwcxpizffzxjw...
output:
bzzzzzzzzzzzzzzyyyyyyyyyyyyyyyyyyxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...
result:
ok single line: 'bzzzzzzzzzzzzzzyyyyyyyyyyyyyyy...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn'
Test #49:
score: 40
Accepted
time: 26ms
memory: 8720kb
input:
ledqbfbjoucueufjuolofktuhfbtkndxeuxcobdchcdbokcssokijopbibhnfhbuqhbouhhxcmshpgthootqbgfuoxgoqjudcctnbgcfihbduxlhutckfifhutucccgbsobgmxaghgclqcblbubhialhcqdibfgwusomohwnnujwtkkwdhwbuocguoxwuugfxufbuuuxcocokxdtuguohuudwqghgjluuflomqbbhbbbmduosgsfkhwnulquooxfudhfkxbowcuugxibnuuxfhgqhphbfwutffxwchwoqjhu...
output:
axxxxxxxwwwwwwwuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'axxxxxxxwwwwwwwuuuuuuuuuuuuuuu...kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk'
Test #50:
score: 40
Accepted
time: 17ms
memory: 8504kb
input:
ggpgpgpgggsgggggygyppgggggggggggppgpgngggggpgsggggpgggsggqppggggggpppggpsgggggsgggpgpgggqgpppppppgggpqsgggggqpgggyggggggggggpgggqgsggggsgggpgggggggpgpgppypggpgggggggqggggggpqpggpgnspgpyppqpqggggpggpggggggsggqgpspgggppgnpgggggggpggqgggpgggggppqgpgpggpspgppsggggggpgggzyggpggnggygsppggggppgggppppbpgggg...
output:
bzzzzzzyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyysssssssssssssssssssssssssssssssssssssssssssssssssssssssqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...
result:
ok single line: 'bzzzzzzyyyyyyyyyyyyyyyyyyyyyyy...lllllllllllllllllllllllllllllli'
Test #51:
score: 40
Accepted
time: 19ms
memory: 4148kb
input:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
output:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee...eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
Test #52:
score: 40
Accepted
time: 13ms
memory: 6996kb
input:
qaaqqyyqqaqqqaqyyaaqyqyaayqyqayaayaqqqqqqqaqayaqqyqqyqaqqaqqayqyqqqqaaaqyyqaayayaqaqyaaqqqqaqaqqyaqaqqqayqayyqqqqqayayayaqaaaqqyqaaqaaqqaqqqqqaqaqaqqqqaayaqyqqqaqaqqaqqaaqyqqyyyaqqaayaayaqqaaaayyaqaaaqqqyyyaayayqqaqyqaqaqyqyqqyaqqaqyaqaqayyyaqqqqqaaqaqaaaaqaqaqyaaaqaqyqaaqqqqyqaqqayayqaaaaaayqaqyqyq...
output:
aqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqayayayaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqqayayaqqqqaqqqayayaqqq...
result:
ok single line: 'aqqqayayaqqqayayaqqqayayayaqqq...yayaqqqayayayaqqqayayaqqqayayay'
Test #53:
score: 40
Accepted
time: 13ms
memory: 7260kb
input:
oocchuuuohhchuouhuucuuucuuuhhcuhhhuuucuhuchuuohhuuuxuchhuchhoccuuuuhohcuucohhuuucuhuhohhhuhuuuuxhuuuhcuhuuuuhuohuchhcohuuvcuuhuochuccocoucccuhhocuuccohuhouocuuuuuuhucouhuuuhouhouuocuuoucucuhhuouhuchhhhhuuhucccuohuuuuuuhchhuhccuhuhcuocuuuocohhcouuhhuhouuhuccchhouuuhuhhuhccuhchhuhuhuuuhuhhchuhhuuhuohx...
output:
cuuuuuoohhhhhhhhhcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcxcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvcvc...
result:
ok single line: 'cuuuuuoohhhhhhhhhcxcxcxcxcxcxc...uupcuuuuupcuuuuupcuuuuupcuuuuup'
Test #54:
score: 40
Accepted
time: 26ms
memory: 8524kb
input:
zstqymkfytimruprejqwndtbllprlcrqpreepnzimyuzvccsrxdlyulbywprkyhrhwldyqgrceuelnbruprqzzpwbfzrncoeborzfuezjxfqtqxbmdbmerbfguerwbyflnzqusxumprlefykgcdczffuxuokppuymupkqtncprgfyvufsaemsdznatosqfgnzxrynpbbnbcnlsydeetlfemypgppynfluyxxpbdufxbecgpyujcfebonnfecespzoobmlnttrrwjqytnetdxeropzalmoolrrmwuouneuyrt...
output:
azzzyyyxxxwwwwuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
result:
ok single line: 'azzzyyyxxxwwwwuuuuuuuuuuuuuuuu...nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn'
Test #55:
score: 40
Accepted
time: 6ms
memory: 7204kb
input:
zzzzzczzsszzzsszczzzzszzszszzzzzzzszzzzzzzzzzzzczzzzszzsczzzsczsszzzzzszzzszzzzzzzzzczsczzzczczzzszsszzzzszzzszzczzzzzzzzssszzzczzzzzzzzzzzzzzszzzzzzzszszzzzzzzzzzszszzzzzszzszzwzzzszzzzzczzzzzzzzzzzzzzzzzzzzzzzszzzzzzzzdzzzzsszzzszzzzzzzzzzzzzszzczzzzzzzzzzzzczszzszzzzzzzzzzzzszzzzzzzszczzzzzzzzzzc...
output:
czzzzzzzzzzzzzzzzzzzzssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssddczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzzzzzczzzzzzzzzzzzzzzzzz...
result:
ok single line: 'czzzzzzzzzzzzzzzzzzzzsssssssss...zzzzzzzzzczzzzzzzzzzzzzzzzzzzzz'
Test #56:
score: 40
Accepted
time: 15ms
memory: 7580kb
input:
xfooodoxxzowpxdowoddxxwpfopzzxwdfopxzvdopxdxdxzddzwwozovwxazopzxwdxdpdzfopxdfzdofddxowpfzwwpxpxpopwwodzodxpoxzzoazxwxwdwaozxzxoozowpzpxpwzdpowwdwzdoxfxwfwpopodxwozapwwxpdzodopxppdzoxodzwodzoppowwddozwzzpddovfpvpxodwzzpopxpwfzoozoopodxzddaxodxppppozwzdfzwofwdzopfffzpoxawxxdxopoxadzpodxzxxxzzpowxoowdz...
output:
azzzzzzzzzxxxxxxxwwwwwwwwwwvvvvvvvpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo...
result:
ok single line: 'azzzzzzzzzxxxxxxxwwwwwwwwwwvvv...zzzzzzxxxxxxxwwwwwwwwwwvvvvvvvv'
Test #57:
score: 40
Accepted
time: 19ms
memory: 7348kb
input:
gqvvtevrqqovrmrxvrvemvjtjotxtvtjvotorrooqqmrqjtqxetrjvqmeevqqortovtqeorxttmggrvrvvrjovvgqmegtqrrvqgevvertrvtqexvrmvomvtrvtorqrxmttvqrqtqroverxrjvtovtvrrqeettvvqmotrtettrvqtovorvmtvtqomtvoovtevtqorvtjvqvxetrmtqtqototormrrtverrtqootvmmromevgvvtqegvrooortmotrvvtqorrverqoxvqqtvmrrvxrxrvotoegototvtjvtvvr...
output:
evvvvtttttttttrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooommmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
result:
ok single line: 'evvvvtttttttttrrrrrrrrrrrrrqqq...qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq'
Test #58:
score: 40
Accepted
time: 22ms
memory: 7460kb
input:
tqukuknnuytpvtyyttquuvvuyqkukvkqvyvuytuunuqyqqyuqkkynuyyyttunyyqtvukuqyutyqvuvtkyykuqnktquqquuntkyktvuvnynuuttkqutqvyqnyuyyqkkyyykvaqyyunyyktqtukkqukkvtvknvytpquukyytvvvyuqktunyqtyavyuqpvvutuqqttquyyyqquktkyyytqtqkuvuqvqvykkunktttttkpytututukyuvkpkqvqtqyyuuqvyvytytuuqvttyyyvvunyuktqyaqkuqayvttaunykp...
output:
ayyyyyyyvvvvvvvuuuuuuuuuuuuuuuuuuutttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
result:
ok single line: 'ayyyyyyyvvvvvvvuuuuuuuuuuuuuuu...qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq'
Test #59:
score: 40
Accepted
time: 11ms
memory: 6844kb
input:
yeeeeeceeeeeeeeeeteeeetyryjyeyxeeyteeeeeeexyeryeeyyeeyyyeeeceeeyeeyceyeeeeyeeeeetreejyyeyeeeeyeeryeeeeeeereteeteejeteecyeereteeeeeyeeyeeyeeryeeyeeceyyyeyeeyyeeeexeyyyyyxyyeeereeexeeceertereeeceeeyyeyeeeyecyreyeyeyeeeteeeetteeyeeexeeyyeeetyceeecyeyyeeeyeeeeyryyeycyereeeeeeeeyyeeeeeecyeryyeyeeyeeyteyy...
output:
cyyyyyyxttttrrrrrrrrrrrrrrrrrjjjjjjjjjjjjjjjjjjjjjjjeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...
result:
ok single line: 'cyyyyyyxttttrrrrrrrrrrrrrrrrrj...rcyyyyyyxttttrrrrrrrrrrrrrrrrrr'
Test #60:
score: 40
Accepted
time: 11ms
memory: 7036kb
input:
jcjoococjcjcojcjocoococococjjojocjjjjjjjjcoooojjjjcojcoojjjcjjjjojojjcccjcojcoojjjjjjcccoccojojjjjjoccojoocccjjojjjjccjcjcojjojcjcojooojjjcojjjcjoojcoocojcjjjojjjccjojjjjcocjojjcojjcjcjojocoojjjcooooojjcojjccjccjjojojojccojcjcocjjcjcjcooojocjcjjcojjcccocjcjcocjcjjoojjjccocccjjjcjjjjcjcjjjjojcococjcj...
output:
cjjjjjjcococococococococococococjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjjcjjjjjjcocococococococococococococjjjjjjcocococococococococococococjjjjjjcocococococo...
result:
ok single line: 'cjjjjjjcocococococococococococ...jjjjjcococococococococococococo'