QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#548632#6617. Encoded Strings IZhangYiDeAC ✓24ms4480kbC++20950b2024-09-05 19:39:252024-09-05 19:39:25

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3568kb

input:

4
aacc

output:

bbaa

result:

ok single line: 'bbaa'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

3
aca

output:

ba

result:

ok single line: 'ba'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

1
t

output:

a

result:

ok single line: 'a'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

12
bcabcabcbcbb

output:

cbacba

result:

ok single line: 'cbacba'

Test #5:

score: 0
Accepted
time: 5ms
memory: 4272kb

input:

1000
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #6:

score: 0
Accepted
time: 7ms
memory: 4180kb

input:

1000
ggkkkggggggkgggkgkgkkkkkggkkkgggkgkgggkkgkkgkgkgkgkgggkgkkkkgkgkkgkggkgggkgggkgkkgggggkkgkgkkkkgkkkkkkgkkggkkkkggkkkgkgggkggkkgkkgkgggkkggggkkggggkggkkggkgkgkgkkkgkkgkgkkgkkgkgkggkgggkgkkkgkkkgkkggkkggkkgkgkgkkkkkgkkggkgggkkkkgggkggkgggkkkgkkkkggggkkggkkkkgkkggkkkkkkgkgggkkkkkgggggggkgggkkkggkg...

output:

bbaaabbbbbbabbbababaaaaabbaaabbbababbbaabaabababababbbabaaaababaababbabbbabbbabaabbbbbaababaaaabaaaaaabaabbaaaabbaaababbbabbaabaababbbaabbbbaabbbbabbaabbabababaaabaababaabaabababbabbbabaaabaaabaabbaabbaabababaaaaabaabbabbbaaaabbbabbabbbaaabaaaabbbbaabbaaaabaabbaaaaaababbbaaaaabbbbbbbabbbaaabbabbaabb...

result:

ok single line: 'bbaaabbbbbbabbbababaaaaabbaaab...bbbbabbabababaabbbbbababaababaa'

Test #7:

score: 0
Accepted
time: 7ms
memory: 4272kb

input:

1000
edbbbbedddbeebedeedbddebddddbedbbdddeddeeddeebdedbbbdedddeeddbdddbbebbbdbeddbbbbbdeedebdddbbbebebbbdebebbeebbeeddddebdbdedbedddeebedebbddbededbdeebbbbbdbebddbebdbddebbddddbdeebbbddddbedddbedbeebdeeebdedbdededdbdebbedbbbeedbbedebddebbeebddebbebbdebeebddbdeddbdebdebebbdbebdddedbbdbedbbdbebbbddddd...

output:

cbaaaacbbbaccacbccbabbcabbbbacbaabbbcbbccbbccabcbaaabcbbbccbbabbbaacaaabacbbaaaaabccbcabbbaaacacaaabcacaaccaaccbbbbcababcbacbbbccacbcaabbacbcbabccaaaaabacabbacababbcaabbbbabccaaabbbbacbbbacbaccabcccabcbabcbcbbabcaacbaaaccbaacbcabbcaaccabbcaacaabcaccabbabcbbabcabcacaabacabbbcbaabacbaabacaaabbbbbbabba...

result:

ok single line: 'cbaaaacbbbaccacbccbabbcabbbbac...babcbbabccacbccbaaacabcbcccbbaa'

Test #8:

score: 0
Accepted
time: 8ms
memory: 4464kb

input:

1000
hhqjhgqqjhqhqhgggqhgqghhjjgjjqqqhhjhhjqqjqqjqqhghghjhqhghhqhgjgjhqhjjjqjqgjgjgqhqqgjgqghgqjjhqjjgqghjqjhqjhghhghgqjqjhggjjhhjjqhqgqhjjhqqjqjghjjhjhqghqggjqjqjghjqhqjqgjqqjjqjjhjjqghqjjhhjhghhjggqqjjqgjqgqjhqhjqhjqqgjqhghghhjqqhhhjhjjgjjgjqgjqqqggjggqhqgjhqhqqgggqqhqqqjhqgjghhhqgghqqjgjhjqjhhqgh...

output:

ddcbdaccbdcdcdaaacdacaddbbabbcccddbddbccbccbccdadadbdcdaddcdababdcdbbbcbcababacdccabacadacbbdcbbacadbcbdcbdaddadacbcbdaabbddbbcdcacdbbdccbcbadbbdbdcadcaabcbcbadbcdcbcabccbbcbbdbbcadcbbddbdaddbaaccbbcabcacbdcdbcdbccabcdadaddbccdddbdbbabbabcabcccaabaacdcabdcdccaaaccdcccbdcabadddcaadccbabdbcbddcaddacdd...

result:

ok single line: 'ddcbdaccbdcdcdaaacdacaddbbabbc...accdbabaaaaaabababcabbabcdadcba'

Test #9:

score: 0
Accepted
time: 10ms
memory: 4120kb

input:

1000
cceooojojcecesjojsssesjojccoecceoojecsscojsosoccojscjcjssococjscssosecooeejoosojeecjceoeeojcocosjcecocoesjceejjecssjejccjsjosjsjcjesjojcojocjjeooeccojjosjcjjcjoecseecsjccojcoessecejcocosecsojeoceejeccejeoosssscecjcssooojoseeccosocoeejjecsjeoecejsoojessoescecjjsscecoccjsjsscccssjoeejsscoesecssco...

output:

eedcccbcbededabcbaaadabcbeecdeedccbdeaaecbacaceecbaebebaacecebaeaacadeccddbccacbddebedcddcbececabedececdabeddbbdeaabdbeebabcababebdabcbecbcebbdccdeecbbcabebbebcdeaddeabeecbecdaadedbececadeacbdceddbdeedbdccaaaaedebeaacccbcaddeecacecddbbdeabdcdedbaccbdaacdaedebbaaedeceebabaaeeeaabcddbaaecdadeaaecebdcb...

result:

ok single line: 'eedcccbcbededabcbaaadabcbeecde...acbebaaecdddeadeeaeaaeeabdbcbba'

Test #10:

score: 0
Accepted
time: 12ms
memory: 4116kb

input:

1000
mmmfqfmpqrccmqfcrprpfppcpcffqcrcrcqmmmqmrfmrpqffppcmqpqqrfqqcffpmqqfmcmpmcfcqcffqmrmqrmmqmffpqqpfqrcppmmpmrqffmfcfffqmrprfcpfqffrrrmcqmpfmpfmprmcrrqqrmcrcmpcffmpfcprmcpmcfmpcfprrqrpcqccpcmmqcqqfmrcrrqrqcmcpqcrcqcrrpmpmfccqcffrrfmpfqqmqcpmfpmqpcmqpmfqpffmqpcrmcmqrqfqqcrfffcfqprcprrmfppfpqqmmrcmc...

output:

fffedefcdbaafdeabcbceccacaeedababadfffdfbefbcdeeccafdcddbeddaeecfddefafcfaeadaeedfbfdbffdfeecddcedbaccffcfbdeefeaeeedfbcbeacedeebbbfadfcefcefcbfabbddbfabafcaeefceacbfacfaefcaecbbdbcadaacaffdaddefbabbdbdafacdabadabbcfcfeaadaeebbefceddfdacfecfdcafdcfedceefdcabfafdbdeddabeeeaedcba

result:

ok single line: 'fffedefcdbaafdeabcbceccacaeeda...fedceefdcabfafdbdeddabeeeaedcba'

Test #11:

score: 0
Accepted
time: 14ms
memory: 4396kb

input:

1000
hljikoiljhkhhikjihlhokhjnjlijjhkhinohnioklilhonihliiiohllkniiokjiihkokkkhnijkkkijnnjljoihiljlnjhllnjlhojnjojnnjhllilnnoloiijioiohkononkijhniihjiinononokjjokljjkinonhkojknohijhlilhjjlhkhjoonojlknjnljniklohinhinnnkhnkljjknkjhhlhlkllihhihnlkjklhokkihlhlikjhkjokhkniooljkojjiiljjjnojkiojnkniljnkoljn...

output:

gfedcbdfegcggdcedgfgbcgeaefdeegcgdabgadbcfdfgbadgfdddbgffcaddbceddgcbcccgadecccdeaaefebdgdfefaegffaefgbeaebeaaegffdfaabfbddedbdbgcbabacdegaddgeddabababceebcfeecdabagcbecabgdegfdfgeefgcgebbabefcaeafeadcfbgdagdaaacgacfeecaceggfgfcffdggdgafcecfgbccdgfgfdcegcebcgcadbbfecbeeddfeeeabecdbeacadfeacbfeacbfac...

result:

ok single line: 'gfedcbdfegcggdcedgfgbcgeaefdee...cdeedgccfddabeafeaeeeeecdbbcbba'

Test #12:

score: 0
Accepted
time: 15ms
memory: 4228kb

input:

1000
cbpfmafbflfblamcccmcbbfqqfpbaaqfpccqqbqfcabmlbbmfqcpfqmcpqcfffacqbpbllappmbmcfpqqfqlcbcaclbbfqmqfqlammbcqblbccqcpabapcbbfcmpfcmmcpccbcbcfblfclmflpfaqppqbfppfpacmfqqafcmlmbqcbbfqaqffpafcbcqfpqmpcabfmcqcqpblfccmffplcbbaamcallbblmbcmammaablfmbfqqlcqacpqfaqpfcbamamcqcmqqffqfcbcffmabcfplabbmfqcampqc...

output:

hgfceacgcbcgbaehhhehggcddcfgaadcfhhddgdchagebggecdhfcdehfdhcccahdgfgbbaffegehcfddcdbhghahbggcdedcdbaeeghdgbghhdhfagafhggchefcheehfhhghghcgbchbecbfcadffdgcffcfahecddachebegdhggcdadccfachghdcfdefhagcehdhdfgbchheccfbhggaaehabbggbegheaeeaagbcegcddbhdahfdcadfchgaeaehdheddccdchghcceaghcfbaggecdhaefdhhehbf...

result:

ok single line: 'hgfceacgcbcgbaehhhehggcddcfgaa...ahhahgdghbegegbhdeagdeafeadcbaa'

Test #13:

score: 0
Accepted
time: 16ms
memory: 4236kb

input:

1000
oikrbsjdjjsrcdbroobidjojkdjikbirccicdiicbskkciijkssjirjokcjosbbkcdkbrdroirsooiibsjokircbkjbrbkoobkrddcbossoskosbiksodsjkkocoricjkdscdickjdisiddbsdiikdisdcjdkddscdjjrkkddjbbbdidkidddijbibdisbicjokodrcbjkkcrokiciijssjjbscrssccckdjdirbbcocjkobrijssijjcjrcskdobrjcscbocoobdocobrorosiidoscrijjorsrirk...

output:

ihgdaefbffedcba

result:

ok single line: 'ihgdaefbffedcba'

Test #14:

score: 0
Accepted
time: 17ms
memory: 4480kb

input:

1000
cmctnhnrhchdnnaitttiirathamrkhtahnmrttkrhdimhatrttatrtmkiminahadihkdkrdthrkrhiandtmhtrdtiinicrmmirinnarkanadnhaatkkakarirnahrtcndarniihkdnddkhitkmdrtarhinirccaitdccnncnmnanhmtrdthkrmakdkktnimictdanrcmrhtcakmcmnahcrahkhtmadmhkrriinakkrhhddmnaknacchtacaktdnmaihnhcmtcchrdmihritatkactmmhattcrkknnkr...

output:

jijhbebfejeabbcdhhhddfchecifgehcebifhhgfeadiechfhhchfhigdidbcecadegagfahefgfedcba

result:

ok single line: 'jijhbebfejeabbcdhhhddfchecifge...chfhigdidbcecadegagfahefgfedcba'

Test #15:

score: 0
Accepted
time: 17ms
memory: 4232kb

input:

1000
nlptkhpknhcldctjtdfcilithddhcpcplfjijtpnijiiiikcccifljnfijidnlkihpncddjnlncnpttdhiihcpithpiljjcjilinpkfchpdpjpcdpccncncjnfcklcccltclcldhpllijdplnjkijljddikcihnjpclcpiffhppnnfpnjtfhphpipctffhkjlkfnchphhnkdpcdttcijnlhcppnptlhphiktknnjfntipftdnffhhjhciphlnijltnttndpninttjciikfchjkpkhtfkdnhhnijcitt...

output:

kjhfidhikdajgafcfgbaejefdggdahahjbcecfhkeceeeeiaaaebjckbecegkjiedhkaggckjkakhffgdeedahefdhejccacejekhibadhghchaghaakakackbaijaaajfajajgdhjjecghjkciecjcggeiaedkchajahebbdhhkkbhkcfbdhdhehafbbdicjibkadhddkighagffaeckjdahhkhfjdhdeifikkcbkfehbfgkbbddcdaehdjkecjfkffkghkekffcaeeibadcihidfbigkddkecaeffecafi...

result:

ok single line: 'kjhfidhikdajgafcfgbaejefdggdah...igehhcbbbjkdbgkhagajihfgafedcba'

Test #16:

score: 0
Accepted
time: 19ms
memory: 4232kb

input:

1000
bcqeheddhchrddimchmikdfsmimikchdmmbreskiqfbikcdfhhmfbmqrmsibihciqqqsefmebmrbmcedhmdkmiqbdhsmkcqkifmiddhfieqersmksfiidqesisffhhrsbkiddbkbksrchchccifqkciidibqssihmmfrmfbeffhhqdbhmmdsisqkhqmhsmhckbccfreihdreiqqfcdsfffdbhsicbqfirhhchemfihedrbbkekhsfcccfmmieqfrrimsfddbqmkemciqfqrfbsresbhsiceffebfkfd...

output:

lkihjhaajkjgaabfkjfbeacdfbfbekjafflghdebiclbekacjjfclfigfdblbjkbiiidhcfhlfglfkhajfaefbilajdfekiebcfbaajcbhihgdfedcbba

result:

ok single line: 'lkihjhaajkjgaabfkjfbeacdfbfbek...ilajdfekiebcfbaajcbhihgdfedcbba'

Test #17:

score: 0
Accepted
time: 16ms
memory: 4232kb

input:

1000
pdipkeekpamgdiiafeigfaaoktngfpmkggmkdmaicekcoggpattofngagapfaifodftdmkfoctpdkkomkttgpotdggeeonkdieocdcdnffiittompaopieonamnpiigienpenieaigfiieaeiiftmpkaaegopdeamatngamagapfnppkgciptpnmpcmiagfdoaiemftddddenikaiidmmdopfapgnmefdidgdkegofmeofnetktinipopkfdpkikcodtkapngefetkaffgppkkieikmfadottcceipk...

output:

mlcmkddkmjbilccjhdcihjjekagihmbkiibklbjcfdkfeiimjaaehgijijmhjchelhalbkhefamlkkebkaaimealiiddegklcdeflflghhccaaebmjemcdegjbgmccicdgmdgcdjcihccdjdcchabmkjjdiemldjbjagijbjijmhgmmkifcmamgbmfbcjihlejcdbhalllldgckjcclbblemhjmigbdhlclilkdiehbdehgdakacgcmemkhlmkckfelakjmgidhdakjhhimmkkcdckbhjleaaffdcmkaigdk...

result:

ok single line: 'mlcmkddkmjbilccjhdcihjjekagihm...gcklglkjhjjfhjccbbfbihegfecdcba'

Test #18:

score: 0
Accepted
time: 20ms
memory: 4180kb

input:

1000
redfdnprmcbbhfdlmepnolpfotdhlrrlbedeccnrdblprfbdptohmbldthoorcrnceelhochsrppfbotmlchhsftlemfhbcnpdltofescnhmdhombpcddpscfhnmrnordbehnpdlrbbbfcdsoohpbhtcpsrhffobpehhdtmfcmmsbnpcedtmpfcpfporehfbfbotcpbeobnlednofedbpldcrosfcfnplnhbdlohfedrpsosmrpedenpfrrnsbehslloeldemsoeenfrsssppldtnfelrlboepptlpo...

output:

nlecekjndbaafcehdljkmhjcmiefhnnhalelbbkneahjncaejimfdaheifmmnbnkbllhfmbfgnjjcamidhbffgcihldcfabkjehimclgbkfdefmdajbeejgbcfkdnkmnealfkjehnaaacbegmmfjafibjgnfccmajlffeidcbddgakjbleidjcbjcjmnlfcacamibjalmakhlekmcleajhebnmgcbckjhkfaehmfclenjgmgdnjlelkjcnnkgalfghhmlheldgmllkcngggjjheikclhnhamljjihjmlljae...

result:

ok single line: 'nlecekjndbaafcehdljkmhjcmiefhn...dcchlhkkjadjgbidfhhbhcegfebdcba'

Test #19:

score: 0
Accepted
time: 21ms
memory: 4268kb

input:

1000
hegsdmeapjipglsnfmianparlaersaragrlepapooflllgnsiggjdjdpraslojdfdaaesfpllhnihselidejrgrfmmaldfnrejophlanehrdsjrrsidomemhmeafrgrrajrrfrjjgpfmgsprifnolfglhmnfapljamsldgrfsomopfedsegdadmojparrssjpfsfaporljfhsfhhgrnilmhdlppoldhaomrjprnfirlmnnhfseofjenrohflfndfiimmsirjopeeipafhphogsafrngjjiprnifeila...

output:

omjgbnmaidkijfglcnkaliahfamhgahajhfmiaieecfffjlgkjjdbdbihagfedbcbaa

result:

ok single line: 'omjgbnmaidkijfglcnkaliahfamhga...iaieecfffjlgkjjdbdbihagfedbcbaa'

Test #20:

score: 0
Accepted
time: 22ms
memory: 4176kb

input:

1000
dgenmltemgsnbimnhicfomcbbliddfhllohldnthotglfeoobtohilblglibclhdlmmfgseslgseiimkhhbflfekildtgllfdkjolnilbtscnfjklfidbknhlljkokodbtmoccbiigicgnfdfbhktcomilkbijisdhmjcmgbkomojjfmdnjltbmnnsbslbtflkkbsofehhnndmjtifsisggeocdbtolimtnlhcoekedjsnhoobbjnhihbbtkomnjomiskfobilkjkbocdmhnffglfogtosndsitecdf...

output:

pnmcdgbmdnjcaodckohifdhaagoppikggfkgpcbkfbngimffabfkogagngoahgkpgddinjmjgnjmoodlkkaigimlogpbnggiplefgcogabjhcielgiopalckggelflfpabdfhhaoonohncipiaklbhfdoglaoeojpkdehdnalfdfeeidpcegbadccjajgabigllajfimkkccpdeboijojnnmfhpabfgodbcgkhfmlmpejckffaaeckokaablfdcefdojlifaoglelafhpdkciingifnbfjcpjobmhpinhepd...

result:

ok single line: 'pnmcdgbmdnjcaodckohifdhaagoppi...jbldlkgbbhfjhkeffjfaihgafeedcba'

Test #21:

score: 0
Accepted
time: 22ms
memory: 4472kb

input:

1000
chkkcqdcggjsjadhtrjqgntecdhgrsqsbkqqqsodfkfcblqntsjrjnfcteghkafgjqtaaabdddakcbnabaqtoqdkogfgqaebrsdcdqkadkeqoleknokgfhshkqdhhsjddatblonnlnkllordrbgjjsjdedhlgsdsodcbcbojaehanhqetgnasocghtcrdbqdclegfscnqcelofffckefedohhadlhhnadnffbkreeletoknrrhrffrogrcgghaeglcefhbaaefggaabohttrstfgfqgcnnbeqjdklqr...

output:

qoeeqbnqjjdidknohldbjchfqnojlibimebbbipngegqmabchidldcgqhfjoekgjdbhkkkmnnnkeqmckmkbhpbnepjgjbkfmlinqnbeknefbpafecpejgoioebnooidnnkhmapccaceaaplnlmjddidnfnoajinipnqmqmpdkfokcobfhjckipqjohqlnmbnqafjgiqcbqfapgggqefgfnpooknaoockncggmelffafhpecllolgglpjlqjjokfjaqfgomkkfgjjkkmpohhlihgjgbjqccmfbdneablpondg...

result:

ok single line: 'qoeeqbnqjjdidknohldbjchfqnojli...jegimmjlbdlhlkjhbehfihgfedbbcba'

Test #22:

score: 0
Accepted
time: 22ms
memory: 4432kb

input:

1000
mmimrctldielpadeocgmaifcafkhjccnaktgmsejehgcoialclsopnrokmamnahangmhfmgcrmlatislecsgiaaarkpssscshtcrncptsoijirnogggititpohtgcaegdaaeoegmioridoggttsorppehjhiondejafeanspotcngepscflcseeikasopdmdthgnasdnfedkookrnkjcsinkejkiskasoecnlnkigrdfktopfcoehlsednknimtshljrdlnnainrfskmddegerildgcnkmfoapefalm...

output:

rrormilfcodfkpcdhinrpojipjbgqiiapblnredqdgnihopfifehkamhbrprapgpanrgjrnimrfploefdienopppmbkeeeieglimaiklehoqomahnnnololkhglnipdncppdhdnrohmochnnllehmkkdgqgohacdqpjdpaekhliandkeijfieddobpehkcrclgnapecajdcbhhbmabqieoabdqboebpehdiafabonmcjblhkjihdgfedcaba

result:

ok single line: 'rrormilfcodfkpcdhinrpojipjbgqi...bpehdiafabonmcjblhkjihdgfedcaba'

Test #23:

score: 0
Accepted
time: 24ms
memory: 4168kb

input:

1000
qdjplrlfkgqbnncnglcfdijiifboesenqmfjilnqrppabmntsgdefcjrkotiejacrdmqqoegtspofdejngqmddjatlfakscdcfdfjfrqkfllmoteldgnirkmpmbjfpkkiblsnjsqjijposifejtoliolrfionfiirqrdojcfqipraenpfeqfqcegkfctssmrrbdjkkrbctqiqejsfsqcgdnoaelcfaslegtrcefleqqjbtgjpbjrdqtmajcfgotetrkeeoqptnsbkgoaedsqorniralmeklcigocfal...

output:

srlkhphdbiscqqeqihedroloodcjmgmqsadlohqspkkncaqfgirmdelpbjfomlneprassjmifgkjdrmlqisarrlnfhdnbgeredrdldpsbdhhajfmhriqopbakacldkbbochgqlgslolkjgodmlfjhojhpdojqdoopsprjledsokpnmqkdmsdsemibdefggappcrlbbpcefsosmlgdgseirqjnmhednghmifpemdhmsslcfilkclprsfanledijfmfpbmmjskfqgcbijnmrgsjpqopnhambheoijednhhkrph...

result:

ok single line: 'srlkhphdbiscqqeqihedroloodcjmg...polnlkjkdmllafkhbjbihgeafecdcba'

Test #24:

score: 0
Accepted
time: 9ms
memory: 4476kb

input:

1000
jtjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjtjjjjjjjjjjjjtjjjjjjajjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjtjjjjjjtjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjjjjtjjjjjtjatjjjjtjtjjjjjajjjjjtjjtjtajjjjtjjjjjjjjjtajjjjjjjjtjjjjjjjjjjjjttjjjtjjjjjjatttjjjtjjtjjjtjjtjtjjajjjttjajtjjtjttjjjjktjjjt...

output:

sossssssssssssssssssssossssossssssssssssssossssssssssssossssssqsssssssssssssssssssssssssssssosssossssssossssssssssssssssssssssssssssssssssssossssosssssssssssssssssosssssosqossssososssssqsssssossosoqssssosssssssssoqssssssssossssssssssssoosssossssssqooosssossosssossosossqsssoosqsossosoosssstosssoooosq...

result:

ok single line: 'sossssssssssssssssssssossssoss...adgiebdheadaegdagdacefecedbdcba'

Test #25:

score: 0
Accepted
time: 11ms
memory: 4396kb

input:

1000
frffrffffffffffpfrffffpfffrfrfffffrrfrffffpffffrfpfrffffrfprfffpfrfffffffrfrffffffrfffrfpffffrpfffffrfrfffffffffffrffffpffrrffpfafffsffffffpfsfrfrfrfrffffffrfkffsffffffrffrfaaffafrrfffprffrprrfffrrfpfffrffrfffpifffrsrfipffpfprfrsffafffprffifrapfrrrrrrpffrfrfrspffsarffrfrfrppffparfsffrrfpfpaafaf...

output:

rsrrsrrrrrrrrrrtrsrrrrtrrrsrsrrrrrssrsrrrrtrrrrsrtrsrrrrsrtsrrrtrsrrrrrrrsrsrrrrrrsrrrsrtrrrrstrrrrrsrsrrrrrrrrrrrsrrrrtrrssrrtrlrrrnrrrrrrtrnrsrsrsrsrrrrrrsrmrrnrrrrrrsrrsrllrrlrssrrrtsrrstssrrrssrtrrrsrrsrrrtorrrsnsrotrrtrtsrsnrrlrrrtsrrorsltrsssssstrrsrsrsntrrnlsrrsrsrsttrrtlsrnrrssrtrtllrlrnsstr...

result:

ok single line: 'rsrrsrrrrrrrrrrtrsrrrrtrrrsrsr...faiceccaidfheaeeacecbfegcfedcba'

Test #26:

score: 0
Accepted
time: 15ms
memory: 4184kb

input:

1000
ssrsaodoododddodadeosisdsdddodsddoodrdsodadsodpodadorosrrdrodddobabdorodddoddodaoodoaoadeodaaddosoososoarossdsmroodsoddsdddsiddordsddrsadooodsooerdoroorpdooriosrdddosaoddrddodridoboirsdiirdosdsamoseaiododordsoosdaipososasoesiddsopddddddrsdbopdorsadaaooedbioddcmmaerooesdooaopadmarsodasmseedlmaio...

output:

rrprtqsqqsqsssqstsoqrnrsrsssqsrssqqspsrqstsrqsmqstsqpqrppspqsssqhthsqpqsssqssqstqqsqtqtsoqsttssqrqqrqrqtpqrrsrlpqqsrqssrsssrnssqpsrssprtsqqqsrqqopsqpqqpmsqqpnqrpsssqrtqsspssqspnsqhqnprsnnpsqrsrtlqrotnqsqsqpsrqqrstnmqrqrtrqornssrqmssssssprshqmsqprtsttqqoshnqssklltopqqorsqqtqmtsltprqstrlroosjltnqstsst...

result:

ok single line: 'rrprtqsqqsqsssqstsoqrnrsrsssqs...gcgffbbdfdficffhcedbcfgfeeddcba'

Test #27:

score: 0
Accepted
time: 19ms
memory: 4232kb

input:

1000
istacriaaimhkashicshismmsnihcnramchstiacniasscsricnchsccsiscssisacitassmnsakinsabhhctssfsiciaiaarsiisicissshcbqciaiknrscaaatnaarcmafsicmabialsncnacricsicakicciitnsicqanqaissthsbamismbaicmaantmmbairnrmhrcrcmhrisassmihcrnbnisfbirtgitbacrnhmbsasashmcmfccbminksammsspmnmmaiceabsitcttintqmacksbmaaias...

output:

rtpmqirmmrnosmtorqtortnntkroqkimnqotprmqkrmttqtirqkqotqqtrtqttrtmqrpmttnktmsrktmcooqpttftrqrmrmmitrrtrqrtttoqchqrmrskitqmmmpkmmiqnmftrqnmcrmltkqkmqirqtrqmsrqqrrpktrqhmkhmrttpotcmnrtncmrqnmmkpnncmrikinoiqiqnoirtmttnroqikckrtfcripbrpcmqikonctmtmtonqnfqqcnrkstmnnttanknnmrqgmctrpqpprkphnmqstcnmmrmtknnck...

result:

ok single line: 'rtpmqirmmrnosmtorqtortnntkroqk...hgjneamgflbllckbjdaiebhgfbedcba'

Test #28:

score: 0
Accepted
time: 23ms
memory: 4172kb

input:

1000
ihtnhaatmfnnjhmnflannfttfsjaiqmqjddqqrlfhmmjnmhqlthqmfhhftfiffftttmchnifohnhfmftrmadqhjdhtnffnmfjnctaccadamdqnmefdnhrchdqssihjnqmomrmlohnnqdlnmahatdahmhqffodnfttairantloriaqnqhnqmihasahdihnjnbcdrtndjqdlcqhbmajislhntiatttcfhfadcacolchfhfnmnanqajthfmjpqimihqqhkeocahrafhlfomffrftnnmtcfqrhntirhbceh...

output:

tpsmprrshlmmgphmlnrmmlsslegrtihigjjiiknlphhgmhpinspihlpplsltlllssshqpmtlopmplhlskhrjipgjpsmllmhlgmqsrqqrjrhjimhdljmpkqpjieetpgmihohkhnopmmijnmhrprsjrphpillojmlssrtkrmsnoktrimipmihtprerpjtpmgmfqjksmjgijnqipfhrgtenpmstrsssqlplrjqrqonqplplmhmrmirgsplhgbithtpiipadoqrpkrlpnlohllklsmmhsqlikpmstkpfqdpdntai...

result:

ok single line: 'tpsmprrshlmmgphmlnrmmlsslegrti...aefgmelkhjdhafffaiihgfdebdbccba'

Test #29:

score: 0
Accepted
time: 24ms
memory: 4476kb

input:

1000
opaqmbjhoctlnmefoocaqnqtecgbnirdjjhqkhiftktbslrpbacpjbrbreapkptlrcpjqpfobtiiqqtjpsrpitbljanmfdfbhldlplsniffflegrtckqjdarlhleffsalnjgmfrpasfgatgfffraheohidlolipksnskjjfaihidesjnlasitccjbbhpheglpdertnqqlgsfafikpneglbokpfaejipaeolmdrinnafpntfichatljgiqlaqhfmsmggdohcncpihiinqbssjnaleiripnbgllhcnnha...

output:

trhmcsektopgfcjbttohmfmpjodsfqaleekmnkqbpnpsigarshoresasajhrnrpgaoremrbtspqqmmperiarqpsgehfcblbskglgrgifqbbbgjdaponmelhagkgjbbihgfedcba

result:

ok single line: 'trhmcsektopgfcjbttohmfmpjodsfq...qbbbgjdaponmelhagkgjbbihgfedcba'

Test #30:

score: 0
Accepted
time: 20ms
memory: 4208kb

input:

1000
imkissilgtjrjrspldhdfeoeknmgfndooeebenddotbsidlfjtffirrgqkjhhcapnjokhphrrcfqhtgfdpgfbboqpioknijgddtkjksnlboqrapfhljhlnhegacqbhfnjlfhbkqhrlkonjolspipkcoclnertlbpacdkmrpdpobgologfiokrprnorltfdaljfmdtpsarctbgahcfsckofhrhrfgnehkfangfmfpbgithhfpfdrhcnhfriihbhfngghtprhnhmngfgbpfqngmcpgoihqoakgrgskghf...

output:

stpsooskiqamamolkrdrcjnjpbticbrnnjjejbrrnqeosrkcaqccsmmifpaddghlbanpdldmmgcfdqicrliceenflsnpbsairrqpapobkenfmhlcdkadkbdjihgfedcba

result:

ok single line: 'stpsooskiqamamolkrdrcjnjpbticb...qpapobkenfmhlcdkadkbdjihgfedcba'

Test #31:

score: 0
Accepted
time: 14ms
memory: 4100kb

input:

1000
nhoklkcjhfljgqlrfkpendbcscimicfqsqsdtlrrmktnphhcrfaoipamstiokficaqrpsnbsjecrtprseqkidffqthljgfglfpcemrjhjfbgqlrossdkiosqfslrsfnjqhbjbsigoklqnfjjjjebonmbhfipppinbqogdbmsbhhonhjofjbdsgrljjjkbjigbsjlsophibpooobffpqiqoslsdssljohkifjljdbsopbjsodblrsdqjlrdqbbrfojjspjgilfbppdjbribbsorbqqqqompobgoqsopo...

output:

smfhdhplmadljedcahqosikpbpgngpaebebirdccnhrsqmmpcatfgqtnbrgfhagptecqbskblopcrqcboehgiaaermdljajdaqponclmlakjedcfbbihgfbeabdcba

result:

ok single line: 'smfhdhplmadljedcahqosikpbpgngp...daqponclmlakjedcfbbihgfbeabdcba'

Test #32:

score: 0
Accepted
time: 11ms
memory: 4212kb

input:

1000
rcaiopeihfibnahpinlspnlpfqgaptnfqsgmtmfaamtrpgophergqdrrhrqqijgfqpilbbelgkddktfrofeaetqibeegqtkllgaeltredajqqtqbfrqdlbcifelfltoerilflnedeofdqifeforrddeqfqdqlrfplqelfqtjfqldqqdadqqqqlfordiqqeolirdrldqdgefaqfrflqeaffdrdarrqqrffqllfqaqtfdfeqdtdfraodllqeddqdkaifqfeqddleqlqqqlflrpigfdeldfdfddlladkfe...

output:

qpikohnklfkmgilhkgjdhgjhfecihbgfedcaba

result:

ok single line: 'qpikohnklfkmgilhkgjdhgjhfecihbgfedcaba'

Test #33:

score: 0
Accepted
time: 9ms
memory: 4204kb

input:

1000
lctfejbslbflpmmrkkmqklrkdhbgirfctcpghhklbtantbhihgmtokoibhrokrblprbamblkgbkttnlklpnrlpbhgpbiblnrkhbolloookhrblilokbktoblkrkhkkikbgrkkbkkgkkltobglbklkrbbkgklbokkrrklklbkglklgkkkobbkkkkgbgkrbkkglbbkgbklkkblgtkkkkkbbkklblolbbkkrkbbgkbklgbklkrkrbbkblkkrbkllkbbbkkglllgkoklkkkkkkblkolkrblkkkkkkkllbkk...

output:

lngotserleolmhhcaahqalcapdeifcongnmiddalegkjgedfdihgbabfedcba

result:

ok single line: 'lngotserleolmhhcaahqalcapdeifcongnmiddalegkjgedfdihgbabfedcba'

Test #34:

score: 0
Accepted
time: 7ms
memory: 4236kb

input:

1000
bnktqidsiockjnaaggrkajmnrkgabnijjbkgabbnrknnjjgarbaantbaskanbabgrbanbnbnasgaaabbbaraaaakaabbaraggaaraabbnbabranabganbanbabaanrabbbabrkajaarkababbaaabrgbbaaaaaaarbaaabaaaaagaanabaaabaaaaabbbbaaaaaaaaaaanraaaaabaabaaabbabaarbaabaarbaaaaaaaaanaabaaaaaaaaaaaabnbaaaaaaaabaaaaabaaabnaaaraaabaaaaabaaa...

output:

ogdnmjlkjihdbgccffedcba

result:

ok single line: 'ogdnmjlkjihdbgccffedcba'

Test #35:

score: 0
Accepted
time: 5ms
memory: 4172kb

input:

1000
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #36:

score: 0
Accepted
time: 5ms
memory: 4172kb

input:

1000
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #37:

score: 0
Accepted
time: 5ms
memory: 4228kb

input:

1000
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #38:

score: 0
Accepted
time: 2ms
memory: 4176kb

input:

1000
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #39:

score: 0
Accepted
time: 5ms
memory: 4404kb

input:

1000
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #40:

score: 0
Accepted
time: 6ms
memory: 4228kb

input:

1000
ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #41:

score: 0
Accepted
time: 5ms
memory: 4476kb

input:

1000
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

output:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...

result:

ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Test #42:

score: 0
Accepted
time: 10ms
memory: 4184kb

input:

1000
cgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqi...

output:

tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...

result:

ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'

Test #43:

score: 0
Accepted
time: 7ms
memory: 4144kb

input:

1000
pblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkbiqgercpblmadhofstjkniqgercpblmadhofstjkni...

output:

tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihsfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...

result:

ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'

Test #44:

score: 0
Accepted
time: 11ms
memory: 4152kb

input:

1000
fjphtqmasenidorgcblkfjphtqmasenidorgcblkfjmhtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasesidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidor...

output:

tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsnqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlklihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...

result:

ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'

Test #45:

score: 0
Accepted
time: 11ms
memory: 4204kb

input:

1000
calpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdeghrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhr...

output:

tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjicgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...

result:

ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'

Test #46:

score: 0
Accepted
time: 13ms
memory: 4212kb

input:

1000
mirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkoskhqdmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkosthldmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngegafpcbkosthqdmirjngelafpcbkosthqdmirjngecafpcbkosthqdmirjngelafpcqkosthqdmirjngelafpcbkosthqdmirjngelafpcbko...

output:

tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfegcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcmatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponolkjihgfedcbatsrqponmlkjihgfedcbatsrqponilkjihgfedcbatsrqponmlkjibgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...

result:

ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'

Test #47:

score: 0
Accepted
time: 14ms
memory: 4160kb

input:

1000
edkkghfnlomcbspaqrtiedkcghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjqhfnlcmcbspaqrtiedkjghfnlomcbspaqrtildhjgofnlomcbsparrtielkjghfnlomcbspaqrtiedkjghfnlomcbspaqrcoedkjghfnlgmcdspaqrtiedkjlhfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlodcbsp...

output:

tsrrponmlkjihgfedcbatsriponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqdonmlijihgfedcbatsrqponmlkjihgfedcbalsoqpknmlkjihgfeccbatlrqponmlkjihgfedcbatsrqponmlkjihgfedciktsrqponmlpjisgfedcbatsrqlonmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlksihgfedcba...

result:

ok single line: 'tsrrponmlkjihgfedcbatsriponmlk...kjihgfadcbatsrqponmlkjihgfedcba'

Test #48:

score: 0
Accepted
time: 12ms
memory: 4424kb

input:

1000
bigqkhkngpjftodemalrbipqchonfpjftodomqlrbigqchknspjhlodemalrbitqchknspjftodemalrbngqchknspjftodemalrbigqchknspjftodemalrbigqchknsptftodemalrbigqchknspjftodefalqbigqchdnspjftodemglmbigqchknspjftodemalrbigqctknspjftodemcljbigqchknspjfjodemalrbigqchcnspjftodemadrbigqckknspjftodemalrbigqchknspjftod...

output:

tsrqnonmrkjihgfedcbatskqpogmikjihgfgdqbatsrqponmlkjobgfedcbatshqponmlkjihgfedcbatmrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkhihgfedcbatsrqponmlkjihgfeicbqtsrqpofmlkjihgfedrbdtsrqponmlkjihgfedcbatsrqphnmlkjihgfedpbjtsrqponmlkjijgfedcbatsrqpopmlkjihgfedcfatsrqpnnmlkjihgfedcbatsrqponmlkjihgfndcba...

result:

ok single line: 'tsrqnonmrkjihgfedcbatskqpogmik...kjihgfedcbatsrqponmlkjihgfedcba'