QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#771193 | #6617. Encoded Strings I | TauLee01 | AC ✓ | 7ms | 3868kb | C++23 | 1.0kb | 2024-11-22 10:43:22 | 2024-11-22 10:43:22 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define endl '\n'
#define inf 0x3f3f3f3f3f3f3f3f
const int maxn = 1e5 + 10;
const int mod = 1e9 + 7;
void solve()
{
int n;
cin >> n;
string s;
cin >> s;
// int n = s.size();
s = ' ' + s;
int cnt = 1;
int pos = n;
map<int, int> ma;
int maxx = 0;
string ss = "";
for (int i = n; i >= 1; i--)
{
string tt = "";
for (int j = i; j >= 1; j--)
{
if (!ma[s[j] - 'a'])
ma[s[j] - 'a'] = cnt++;
}
for (int j = 1; j <= i; j++)
{
tt += char(ma[s[j] - 'a'] + 'a' - 1);
}
if (tt >= ss)
ss = tt;
for (int j = 0; j <= 26; j++)
{
ma[j] = 0;
}
cnt = 1;
}
cout << ss << endl;
}
signed main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int t = 1;
// cin >> t;
while (t--)
solve();
return 0;
}
这程序好像有点Bug,我给组数据试试?
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3616kb
input:
4 aacc
output:
bbaa
result:
ok single line: 'bbaa'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
3 aca
output:
ba
result:
ok single line: 'ba'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
1 t
output:
a
result:
ok single line: 'a'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
12 bcabcabcbcbb
output:
cbacba
result:
ok single line: 'cbacba'
Test #5:
score: 0
Accepted
time: 4ms
memory: 3508kb
input:
1000 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #6:
score: 0
Accepted
time: 7ms
memory: 3564kb
input:
1000 ggkkkggggggkgggkgkgkkkkkggkkkgggkgkgggkkgkkgkgkgkgkgggkgkkkkgkgkkgkggkgggkgggkgkkgggggkkgkgkkkkgkkkkkkgkkggkkkkggkkkgkgggkggkkgkkgkgggkkggggkkggggkggkkggkgkgkgkkkgkkgkgkkgkkgkgkggkgggkgkkkgkkkgkkggkkggkkgkgkgkkkkkgkkggkgggkkkkgggkggkgggkkkgkkkkggggkkggkkkkgkkggkkkkkkgkgggkkkkkgggggggkgggkkkggkg...
output:
bbaaabbbbbbabbbababaaaaabbaaabbbababbbaabaabababababbbabaaaababaababbabbbabbbabaabbbbbaababaaaabaaaaaabaabbaaaabbaaababbbabbaabaababbbaabbbbaabbbbabbaabbabababaaabaababaabaabababbabbbabaaabaaabaabbaabbaabababaaaaabaabbabbbaaaabbbabbabbbaaabaaaabbbbaabbaaaabaabbaaaaaababbbaaaaabbbbbbbabbbaaabbabbaabb...
result:
ok single line: 'bbaaabbbbbbabbbababaaaaabbaaab...bbbbabbabababaabbbbbababaababaa'
Test #7:
score: 0
Accepted
time: 2ms
memory: 3568kb
input:
1000 edbbbbedddbeebedeedbddebddddbedbbdddeddeeddeebdedbbbdedddeeddbdddbbebbbdbeddbbbbbdeedebdddbbbebebbbdebebbeebbeeddddebdbdedbedddeebedebbddbededbdeebbbbbdbebddbebdbddebbddddbdeebbbddddbedddbedbeebdeeebdedbdededdbdebbedbbbeedbbedebddebbeebddebbebbdebeebddbdeddbdebdebebbdbebdddedbbdbedbbdbebbbddddd...
output:
cbaaaacbbbaccacbccbabbcabbbbacbaabbbcbbccbbccabcbaaabcbbbccbbabbbaacaaabacbbaaaaabccbcabbbaaacacaaabcacaaccaaccbbbbcababcbacbbbccacbcaabbacbcbabccaaaaabacabbacababbcaabbbbabccaaabbbbacbbbacbaccabcccabcbabcbcbbabcaacbaaaccbaacbcabbcaaccabbcaacaabcaccabbabcbbabcabcacaabacabbbcbaabacbaabacaaabbbbbbabba...
result:
ok single line: 'cbaaaacbbbaccacbccbabbcabbbbac...babcbbabccacbccbaaacabcbcccbbaa'
Test #8:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
1000 hhqjhgqqjhqhqhgggqhgqghhjjgjjqqqhhjhhjqqjqqjqqhghghjhqhghhqhgjgjhqhjjjqjqgjgjgqhqqgjgqghgqjjhqjjgqghjqjhqjhghhghgqjqjhggjjhhjjqhqgqhjjhqqjqjghjjhjhqghqggjqjqjghjqhqjqgjqqjjqjjhjjqghqjjhhjhghhjggqqjjqgjqgqjhqhjqhjqqgjqhghghhjqqhhhjhjjgjjgjqgjqqqggjggqhqgjhqhqqgggqqhqqqjhqgjghhhqgghqqjgjhjqjhhqgh...
output:
ddcbdaccbdcdcdaaacdacaddbbabbcccddbddbccbccbccdadadbdcdaddcdababdcdbbbcbcababacdccabacadacbbdcbbacadbcbdcbdaddadacbcbdaabbddbbcdcacdbbdccbcbadbbdbdcadcaabcbcbadbcdcbcabccbbcbbdbbcadcbbddbdaddbaaccbbcabcacbdcdbcdbccabcdadaddbccdddbdbbabbabcabcccaabaacdcabdcdccaaaccdcccbdcabadddcaadccbabdbcbddcaddacdd...
result:
ok single line: 'ddcbdaccbdcdcdaaacdacaddbbabbc...accdbabaaaaaabababcabbabcdadcba'
Test #9:
score: 0
Accepted
time: 5ms
memory: 3624kb
input:
1000 cceooojojcecesjojsssesjojccoecceoojecsscojsosoccojscjcjssococjscssosecooeejoosojeecjceoeeojcocosjcecocoesjceejjecssjejccjsjosjsjcjesjojcojocjjeooeccojjosjcjjcjoecseecsjccojcoessecejcocosecsojeoceejeccejeoosssscecjcssooojoseeccosocoeejjecsjeoecejsoojessoescecjjsscecoccjsjsscccssjoeejsscoesecssco...
output:
eedcccbcbededabcbaaadabcbeecdeedccbdeaaecbacaceecbaebebaacecebaeaacadeccddbccacbddebedcddcbececabedececdabeddbbdeaabdbeebabcababebdabcbecbcebbdccdeecbbcabebbebcdeaddeabeecbecdaadedbececadeacbdceddbdeedbdccaaaaedebeaacccbcaddeecacecddbbdeabdcdedbaccbdaacdaedebbaaedeceebabaaeeeaabcddbaaecdadeaaecebdcb...
result:
ok single line: 'eedcccbcbededabcbaaadabcbeecde...acbebaaecdddeadeeaeaaeeabdbcbba'
Test #10:
score: 0
Accepted
time: 6ms
memory: 3572kb
input:
1000 mmmfqfmpqrccmqfcrprpfppcpcffqcrcrcqmmmqmrfmrpqffppcmqpqqrfqqcffpmqqfmcmpmcfcqcffqmrmqrmmqmffpqqpfqrcppmmpmrqffmfcfffqmrprfcpfqffrrrmcqmpfmpfmprmcrrqqrmcrcmpcffmpfcprmcpmcfmpcfprrqrpcqccpcmmqcqqfmrcrrqrqcmcpqcrcqcrrpmpmfccqcffrrfmpfqqmqcpmfpmqpcmqpmfqpffmqpcrmcmqrqfqqcrfffcfqprcprrmfppfpqqmmrcmc...
output:
fffedefcdbaafdeabcbceccacaeedababadfffdfbefbcdeeccafdcddbeddaeecfddefafcfaeadaeedfbfdbffdfeecddcedbaccffcfbdeefeaeeedfbcbeacedeebbbfadfcefcefcbfabbddbfabafcaeefceacbfacfaefcaecbbdbcadaacaffdaddefbabbdbdafacdabadabbcfcfeaadaeebbefceddfdacfecfdcafdcfedceefdcabfafdbdeddabeeeaedcba
result:
ok single line: 'fffedefcdbaafdeabcbceccacaeeda...fedceefdcabfafdbdeddabeeeaedcba'
Test #11:
score: 0
Accepted
time: 6ms
memory: 3624kb
input:
1000 hljikoiljhkhhikjihlhokhjnjlijjhkhinohnioklilhonihliiiohllkniiokjiihkokkkhnijkkkijnnjljoihiljlnjhllnjlhojnjojnnjhllilnnoloiijioiohkononkijhniihjiinononokjjokljjkinonhkojknohijhlilhjjlhkhjoonojlknjnljniklohinhinnnkhnkljjknkjhhlhlkllihhihnlkjklhokkihlhlikjhkjokhkniooljkojjiiljjjnojkiojnkniljnkoljn...
output:
gfedcbdfegcggdcedgfgbcgeaefdeegcgdabgadbcfdfgbadgfdddbgffcaddbceddgcbcccgadecccdeaaefebdgdfefaegffaefgbeaebeaaegffdfaabfbddedbdbgcbabacdegaddgeddabababceebcfeecdabagcbecabgdegfdfgeefgcgebbabefcaeafeadcfbgdagdaaacgacfeecaceggfgfcffdggdgafcecfgbccdgfgfdcegcebcgcadbbfecbeeddfeeeabecdbeacadfeacbfeacbfac...
result:
ok single line: 'gfedcbdfegcggdcedgfgbcgeaefdee...cdeedgccfddabeafeaeeeeecdbbcbba'
Test #12:
score: 0
Accepted
time: 6ms
memory: 3600kb
input:
1000 cbpfmafbflfblamcccmcbbfqqfpbaaqfpccqqbqfcabmlbbmfqcpfqmcpqcfffacqbpbllappmbmcfpqqfqlcbcaclbbfqmqfqlammbcqblbccqcpabapcbbfcmpfcmmcpccbcbcfblfclmflpfaqppqbfppfpacmfqqafcmlmbqcbbfqaqffpafcbcqfpqmpcabfmcqcqpblfccmffplcbbaamcallbblmbcmammaablfmbfqqlcqacpqfaqpfcbamamcqcmqqffqfcbcffmabcfplabbmfqcampqc...
output:
hgfceacgcbcgbaehhhehggcddcfgaadcfhhddgdchagebggecdhfcdehfdhcccahdgfgbbaffegehcfddcdbhghahbggcdedcdbaeeghdgbghhdhfagafhggchefcheehfhhghghcgbchbecbfcadffdgcffcfahecddachebegdhggcdadccfachghdcfdefhagcehdhdfgbchheccfbhggaaehabbggbegheaeeaagbcegcddbhdahfdcadfchgaeaehdheddccdchghcceaghcfbaggecdhaefdhhehbf...
result:
ok single line: 'hgfceacgcbcgbaehhhehggcddcfgaa...ahhahgdghbegegbhdeagdeafeadcbaa'
Test #13:
score: 0
Accepted
time: 5ms
memory: 3828kb
input:
1000 oikrbsjdjjsrcdbroobidjojkdjikbirccicdiicbskkciijkssjirjokcjosbbkcdkbrdroirsooiibsjokircbkjbrbkoobkrddcbossoskosbiksodsjkkocoricjkdscdickjdisiddbsdiikdisdcjdkddscdjjrkkddjbbbdidkidddijbibdisbicjokodrcbjkkcrokiciijssjjbscrssccckdjdirbbcocjkobrijssijjcjrcskdobrjcscbocoobdocobrorosiidoscrijjorsrirk...
output:
ihgdaefbffedcba
result:
ok single line: 'ihgdaefbffedcba'
Test #14:
score: 0
Accepted
time: 6ms
memory: 3568kb
input:
1000 cmctnhnrhchdnnaitttiirathamrkhtahnmrttkrhdimhatrttatrtmkiminahadihkdkrdthrkrhiandtmhtrdtiinicrmmirinnarkanadnhaatkkakarirnahrtcndarniihkdnddkhitkmdrtarhinirccaitdccnncnmnanhmtrdthkrmakdkktnimictdanrcmrhtcakmcmnahcrahkhtmadmhkrriinakkrhhddmnaknacchtacaktdnmaihnhcmtcchrdmihritatkactmmhattcrkknnkr...
output:
jijhbebfejeabbcdhhhddfchecifgehcebifhhgfeadiechfhhchfhigdidbcecadegagfahefgfedcba
result:
ok single line: 'jijhbebfejeabbcdhhhddfchecifge...chfhigdidbcecadegagfahefgfedcba'
Test #15:
score: 0
Accepted
time: 6ms
memory: 3560kb
input:
1000 nlptkhpknhcldctjtdfcilithddhcpcplfjijtpnijiiiikcccifljnfijidnlkihpncddjnlncnpttdhiihcpithpiljjcjilinpkfchpdpjpcdpccncncjnfcklcccltclcldhpllijdplnjkijljddikcihnjpclcpiffhppnnfpnjtfhphpipctffhkjlkfnchphhnkdpcdttcijnlhcppnptlhphiktknnjfntipftdnffhhjhciphlnijltnttndpninttjciikfchjkpkhtfkdnhhnijcitt...
output:
kjhfidhikdajgafcfgbaejefdggdahahjbcecfhkeceeeeiaaaebjckbecegkjiedhkaggckjkakhffgdeedahefdhejccacejekhibadhghchaghaakakackbaijaaajfajajgdhjjecghjkciecjcggeiaedkchajahebbdhhkkbhkcfbdhdhehafbbdicjibkadhddkighagffaeckjdahhkhfjdhdeifikkcbkfehbfgkbbddcdaehdjkecjfkffkghkekffcaeeibadcihidfbigkddkecaeffecafi...
result:
ok single line: 'kjhfidhikdajgafcfgbaejefdggdah...igehhcbbbjkdbgkhagajihfgafedcba'
Test #16:
score: 0
Accepted
time: 6ms
memory: 3512kb
input:
1000 bcqeheddhchrddimchmikdfsmimikchdmmbreskiqfbikcdfhhmfbmqrmsibihciqqqsefmebmrbmcedhmdkmiqbdhsmkcqkifmiddhfieqersmksfiidqesisffhhrsbkiddbkbksrchchccifqkciidibqssihmmfrmfbeffhhqdbhmmdsisqkhqmhsmhckbccfreihdreiqqfcdsfffdbhsicbqfirhhchemfihedrbbkekhsfcccfmmieqfrrimsfddbqmkemciqfqrfbsresbhsiceffebfkfd...
output:
lkihjhaajkjgaabfkjfbeacdfbfbekjafflghdebiclbekacjjfclfigfdblbjkbiiidhcfhlfglfkhajfaefbilajdfekiebcfbaajcbhihgdfedcbba
result:
ok single line: 'lkihjhaajkjgaabfkjfbeacdfbfbek...ilajdfekiebcfbaajcbhihgdfedcbba'
Test #17:
score: 0
Accepted
time: 3ms
memory: 3568kb
input:
1000 pdipkeekpamgdiiafeigfaaoktngfpmkggmkdmaicekcoggpattofngagapfaifodftdmkfoctpdkkomkttgpotdggeeonkdieocdcdnffiittompaopieonamnpiigienpenieaigfiieaeiiftmpkaaegopdeamatngamagapfnppkgciptpnmpcmiagfdoaiemftddddenikaiidmmdopfapgnmefdidgdkegofmeofnetktinipopkfdpkikcodtkapngefetkaffgppkkieikmfadottcceipk...
output:
mlcmkddkmjbilccjhdcihjjekagihmbkiibklbjcfdkfeiimjaaehgijijmhjchelhalbkhefamlkkebkaaimealiiddegklcdeflflghhccaaebmjemcdegjbgmccicdgmdgcdjcihccdjdcchabmkjjdiemldjbjagijbjijmhgmmkifcmamgbmfbcjihlejcdbhalllldgckjcclbblemhjmigbdhlclilkdiehbdehgdakacgcmemkhlmkckfelakjmgidhdakjhhimmkkcdckbhjleaaffdcmkaigdk...
result:
ok single line: 'mlcmkddkmjbilccjhdcihjjekagihm...gcklglkjhjjfhjccbbfbihegfecdcba'
Test #18:
score: 0
Accepted
time: 6ms
memory: 3628kb
input:
1000 redfdnprmcbbhfdlmepnolpfotdhlrrlbedeccnrdblprfbdptohmbldthoorcrnceelhochsrppfbotmlchhsftlemfhbcnpdltofescnhmdhombpcddpscfhnmrnordbehnpdlrbbbfcdsoohpbhtcpsrhffobpehhdtmfcmmsbnpcedtmpfcpfporehfbfbotcpbeobnlednofedbpldcrosfcfnplnhbdlohfedrpsosmrpedenpfrrnsbehslloeldemsoeenfrsssppldtnfelrlboepptlpo...
output:
nlecekjndbaafcehdljkmhjcmiefhnnhalelbbkneahjncaejimfdaheifmmnbnkbllhfmbfgnjjcamidhbffgcihldcfabkjehimclgbkfdefmdajbeejgbcfkdnkmnealfkjehnaaacbegmmfjafibjgnfccmajlffeidcbddgakjbleidjcbjcjmnlfcacamibjalmakhlekmcleajhebnmgcbckjhkfaehmfclenjgmgdnjlelkjcnnkgalfghhmlheldgmllkcngggjjheikclhnhamljjihjmlljae...
result:
ok single line: 'nlecekjndbaafcehdljkmhjcmiefhn...dcchlhkkjadjgbidfhhbhcegfebdcba'
Test #19:
score: 0
Accepted
time: 6ms
memory: 3568kb
input:
1000 hegsdmeapjipglsnfmianparlaersaragrlepapooflllgnsiggjdjdpraslojdfdaaesfpllhnihselidejrgrfmmaldfnrejophlanehrdsjrrsidomemhmeafrgrrajrrfrjjgpfmgsprifnolfglhmnfapljamsldgrfsomopfedsegdadmojparrssjpfsfaporljfhsfhhgrnilmhdlppoldhaomrjprnfirlmnnhfseofjenrohflfndfiimmsirjopeeipafhphogsafrngjjiprnifeila...
output:
omjgbnmaidkijfglcnkaliahfamhgahajhfmiaieecfffjlgkjjdbdbihagfedbcbaa
result:
ok single line: 'omjgbnmaidkijfglcnkaliahfamhga...iaieecfffjlgkjjdbdbihagfedbcbaa'
Test #20:
score: 0
Accepted
time: 6ms
memory: 3564kb
input:
1000 dgenmltemgsnbimnhicfomcbbliddfhllohldnthotglfeoobtohilblglibclhdlmmfgseslgseiimkhhbflfekildtgllfdkjolnilbtscnfjklfidbknhlljkokodbtmoccbiigicgnfdfbhktcomilkbijisdhmjcmgbkomojjfmdnjltbmnnsbslbtflkkbsofehhnndmjtifsisggeocdbtolimtnlhcoekedjsnhoobbjnhihbbtkomnjomiskfobilkjkbocdmhnffglfogtosndsitecdf...
output:
pnmcdgbmdnjcaodckohifdhaagoppikggfkgpcbkfbngimffabfkogagngoahgkpgddinjmjgnjmoodlkkaigimlogpbnggiplefgcogabjhcielgiopalckggelflfpabdfhhaoonohncipiaklbhfdoglaoeojpkdehdnalfdfeeidpcegbadccjajgabigllajfimkkccpdeboijojnnmfhpabfgodbcgkhfmlmpejckffaaeckokaablfdcefdojlifaoglelafhpdkciingifnbfjcpjobmhpinhepd...
result:
ok single line: 'pnmcdgbmdnjcaodckohifdhaagoppi...jbldlkgbbhfjhkeffjfaihgafeedcba'
Test #21:
score: 0
Accepted
time: 6ms
memory: 3624kb
input:
1000 chkkcqdcggjsjadhtrjqgntecdhgrsqsbkqqqsodfkfcblqntsjrjnfcteghkafgjqtaaabdddakcbnabaqtoqdkogfgqaebrsdcdqkadkeqoleknokgfhshkqdhhsjddatblonnlnkllordrbgjjsjdedhlgsdsodcbcbojaehanhqetgnasocghtcrdbqdclegfscnqcelofffckefedohhadlhhnadnffbkreeletoknrrhrffrogrcgghaeglcefhbaaefggaabohttrstfgfqgcnnbeqjdklqr...
output:
qoeeqbnqjjdidknohldbjchfqnojlibimebbbipngegqmabchidldcgqhfjoekgjdbhkkkmnnnkeqmckmkbhpbnepjgjbkfmlinqnbeknefbpafecpejgoioebnooidnnkhmapccaceaaplnlmjddidnfnoajinipnqmqmpdkfokcobfhjckipqjohqlnmbnqafjgiqcbqfapgggqefgfnpooknaoockncggmelffafhpecllolgglpjlqjjokfjaqfgomkkfgjjkkmpohhlihgjgbjqccmfbdneablpondg...
result:
ok single line: 'qoeeqbnqjjdidknohldbjchfqnojli...jegimmjlbdlhlkjhbehfihgfedbbcba'
Test #22:
score: 0
Accepted
time: 6ms
memory: 3628kb
input:
1000 mmimrctldielpadeocgmaifcafkhjccnaktgmsejehgcoialclsopnrokmamnahangmhfmgcrmlatislecsgiaaarkpssscshtcrncptsoijirnogggititpohtgcaegdaaeoegmioridoggttsorppehjhiondejafeanspotcngepscflcseeikasopdmdthgnasdnfedkookrnkjcsinkejkiskasoecnlnkigrdfktopfcoehlsednknimtshljrdlnnainrfskmddegerildgcnkmfoapefalm...
output:
rrormilfcodfkpcdhinrpojipjbgqiiapblnredqdgnihopfifehkamhbrprapgpanrgjrnimrfploefdienopppmbkeeeieglimaiklehoqomahnnnololkhglnipdncppdhdnrohmochnnllehmkkdgqgohacdqpjdpaekhliandkeijfieddobpehkcrclgnapecajdcbhhbmabqieoabdqboebpehdiafabonmcjblhkjihdgfedcaba
result:
ok single line: 'rrormilfcodfkpcdhinrpojipjbgqi...bpehdiafabonmcjblhkjihdgfedcaba'
Test #23:
score: 0
Accepted
time: 6ms
memory: 3852kb
input:
1000 qdjplrlfkgqbnncnglcfdijiifboesenqmfjilnqrppabmntsgdefcjrkotiejacrdmqqoegtspofdejngqmddjatlfakscdcfdfjfrqkfllmoteldgnirkmpmbjfpkkiblsnjsqjijposifejtoliolrfionfiirqrdojcfqipraenpfeqfqcegkfctssmrrbdjkkrbctqiqejsfsqcgdnoaelcfaslegtrcefleqqjbtgjpbjrdqtmajcfgotetrkeeoqptnsbkgoaedsqorniralmeklcigocfal...
output:
srlkhphdbiscqqeqihedroloodcjmgmqsadlohqspkkncaqfgirmdelpbjfomlneprassjmifgkjdrmlqisarrlnfhdnbgeredrdldpsbdhhajfmhriqopbakacldkbbochgqlgslolkjgodmlfjhojhpdojqdoopsprjledsokpnmqkdmsdsemibdefggappcrlbbpcefsosmlgdgseirqjnmhednghmifpemdhmsslcfilkclprsfanledijfmfpbmmjskfqgcbijnmrgsjpqopnhambheoijednhhkrph...
result:
ok single line: 'srlkhphdbiscqqeqihedroloodcjmg...polnlkjkdmllafkhbjbihgeafecdcba'
Test #24:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
1000 jtjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjtjjjjjjjjjjjjtjjjjjjajjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjtjjjjjjtjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjjjjtjjjjjtjatjjjjtjtjjjjjajjjjjtjjtjtajjjjtjjjjjjjjjtajjjjjjjjtjjjjjjjjjjjjttjjjtjjjjjjatttjjjtjjtjjjtjjtjtjjajjjttjajtjjtjttjjjjktjjjt...
output:
sossssssssssssssssssssossssossssssssssssssossssssssssssossssssqsssssssssssssssssssssssssssssosssossssssossssssssssssssssssssssssssssssssssssossssosssssssssssssssssosssssosqossssososssssqsssssossosoqssssosssssssssoqssssssssossssssssssssoosssossssssqooosssossosssossosossqsssoosqsossosoosssstosssoooosq...
result:
ok single line: 'sossssssssssssssssssssossssoss...adgiebdheadaegdagdacefecedbdcba'
Test #25:
score: 0
Accepted
time: 5ms
memory: 3856kb
input:
1000 frffrffffffffffpfrffffpfffrfrfffffrrfrffffpffffrfpfrffffrfprfffpfrfffffffrfrffffffrfffrfpffffrpfffffrfrfffffffffffrffffpffrrffpfafffsffffffpfsfrfrfrfrffffffrfkffsffffffrffrfaaffafrrfffprffrprrfffrrfpfffrffrfffpifffrsrfipffpfprfrsffafffprffifrapfrrrrrrpffrfrfrspffsarffrfrfrppffparfsffrrfpfpaafaf...
output:
rsrrsrrrrrrrrrrtrsrrrrtrrrsrsrrrrrssrsrrrrtrrrrsrtrsrrrrsrtsrrrtrsrrrrrrrsrsrrrrrrsrrrsrtrrrrstrrrrrsrsrrrrrrrrrrrsrrrrtrrssrrtrlrrrnrrrrrrtrnrsrsrsrsrrrrrrsrmrrnrrrrrrsrrsrllrrlrssrrrtsrrstssrrrssrtrrrsrrsrrrtorrrsnsrotrrtrtsrsnrrlrrrtsrrorsltrsssssstrrsrsrsntrrnlsrrsrsrsttrrtlsrnrrssrtrtllrlrnsstr...
result:
ok single line: 'rsrrsrrrrrrrrrrtrsrrrrtrrrsrsr...faiceccaidfheaeeacecbfegcfedcba'
Test #26:
score: 0
Accepted
time: 6ms
memory: 3788kb
input:
1000 ssrsaodoododddodadeosisdsdddodsddoodrdsodadsodpodadorosrrdrodddobabdorodddoddodaoodoaoadeodaaddosoososoarossdsmroodsoddsdddsiddordsddrsadooodsooerdoroorpdooriosrdddosaoddrddodridoboirsdiirdosdsamoseaiododordsoosdaipososasoesiddsopddddddrsdbopdorsadaaooedbioddcmmaerooesdooaopadmarsodasmseedlmaio...
output:
rrprtqsqqsqsssqstsoqrnrsrsssqsrssqqspsrqstsrqsmqstsqpqrppspqsssqhthsqpqsssqssqstqqsqtqtsoqsttssqrqqrqrqtpqrrsrlpqqsrqssrsssrnssqpsrssprtsqqqsrqqopsqpqqpmsqqpnqrpsssqrtqsspssqspnsqhqnprsnnpsqrsrtlqrotnqsqsqpsrqqrstnmqrqrtrqornssrqmssssssprshqmsqprtsttqqoshnqssklltopqqorsqqtqmtsltprqstrlroosjltnqstsst...
result:
ok single line: 'rrprtqsqqsqsssqstsoqrnrsrsssqs...gcgffbbdfdficffhcedbcfgfeeddcba'
Test #27:
score: 0
Accepted
time: 6ms
memory: 3560kb
input:
1000 istacriaaimhkashicshismmsnihcnramchstiacniasscsricnchsccsiscssisacitassmnsakinsabhhctssfsiciaiaarsiisicissshcbqciaiknrscaaatnaarcmafsicmabialsncnacricsicakicciitnsicqanqaissthsbamismbaicmaantmmbairnrmhrcrcmhrisassmihcrnbnisfbirtgitbacrnhmbsasashmcmfccbminksammsspmnmmaiceabsitcttintqmacksbmaaias...
output:
rtpmqirmmrnosmtorqtortnntkroqkimnqotprmqkrmttqtirqkqotqqtrtqttrtmqrpmttnktmsrktmcooqpttftrqrmrmmitrrtrqrtttoqchqrmrskitqmmmpkmmiqnmftrqnmcrmltkqkmqirqtrqmsrqqrrpktrqhmkhmrttpotcmnrtncmrqnmmkpnncmrikinoiqiqnoirtmttnroqikckrtfcripbrpcmqikonctmtmtonqnfqqcnrkstmnnttanknnmrqgmctrpqpprkphnmqstcnmmrmtknnck...
result:
ok single line: 'rtpmqirmmrnosmtorqtortnntkroqk...hgjneamgflbllckbjdaiebhgfbedcba'
Test #28:
score: 0
Accepted
time: 6ms
memory: 3868kb
input:
1000 ihtnhaatmfnnjhmnflannfttfsjaiqmqjddqqrlfhmmjnmhqlthqmfhhftfiffftttmchnifohnhfmftrmadqhjdhtnffnmfjnctaccadamdqnmefdnhrchdqssihjnqmomrmlohnnqdlnmahatdahmhqffodnfttairantloriaqnqhnqmihasahdihnjnbcdrtndjqdlcqhbmajislhntiatttcfhfadcacolchfhfnmnanqajthfmjpqimihqqhkeocahrafhlfomffrftnnmtcfqrhntirhbceh...
output:
tpsmprrshlmmgphmlnrmmlsslegrtihigjjiiknlphhgmhpinspihlpplsltlllssshqpmtlopmplhlskhrjipgjpsmllmhlgmqsrqqrjrhjimhdljmpkqpjieetpgmihohkhnopmmijnmhrprsjrphpillojmlssrtkrmsnoktrimipmihtprerpjtpmgmfqjksmjgijnqipfhrgtenpmstrsssqlplrjqrqonqplplmhmrmirgsplhgbithtpiipadoqrpkrlpnlohllklsmmhsqlikpmstkpfqdpdntai...
result:
ok single line: 'tpsmprrshlmmgphmlnrmmlsslegrti...aefgmelkhjdhafffaiihgfdebdbccba'
Test #29:
score: 0
Accepted
time: 6ms
memory: 3788kb
input:
1000 opaqmbjhoctlnmefoocaqnqtecgbnirdjjhqkhiftktbslrpbacpjbrbreapkptlrcpjqpfobtiiqqtjpsrpitbljanmfdfbhldlplsniffflegrtckqjdarlhleffsalnjgmfrpasfgatgfffraheohidlolipksnskjjfaihidesjnlasitccjbbhpheglpdertnqqlgsfafikpneglbokpfaejipaeolmdrinnafpntfichatljgiqlaqhfmsmggdohcncpihiinqbssjnaleiripnbgllhcnnha...
output:
trhmcsektopgfcjbttohmfmpjodsfqaleekmnkqbpnpsigarshoresasajhrnrpgaoremrbtspqqmmperiarqpsgehfcblbskglgrgifqbbbgjdaponmelhagkgjbbihgfedcba
result:
ok single line: 'trhmcsektopgfcjbttohmfmpjodsfq...qbbbgjdaponmelhagkgjbbihgfedcba'
Test #30:
score: 0
Accepted
time: 6ms
memory: 3568kb
input:
1000 imkissilgtjrjrspldhdfeoeknmgfndooeebenddotbsidlfjtffirrgqkjhhcapnjokhphrrcfqhtgfdpgfbboqpioknijgddtkjksnlboqrapfhljhlnhegacqbhfnjlfhbkqhrlkonjolspipkcoclnertlbpacdkmrpdpobgologfiokrprnorltfdaljfmdtpsarctbgahcfsckofhrhrfgnehkfangfmfpbgithhfpfdrhcnhfriihbhfngghtprhnhmngfgbpfqngmcpgoihqoakgrgskghf...
output:
stpsooskiqamamolkrdrcjnjpbticbrnnjjejbrrnqeosrkcaqccsmmifpaddghlbanpdldmmgcfdqicrliceenflsnpbsairrqpapobkenfmhlcdkadkbdjihgfedcba
result:
ok single line: 'stpsooskiqamamolkrdrcjnjpbticb...qpapobkenfmhlcdkadkbdjihgfedcba'
Test #31:
score: 0
Accepted
time: 6ms
memory: 3564kb
input:
1000 nhoklkcjhfljgqlrfkpendbcscimicfqsqsdtlrrmktnphhcrfaoipamstiokficaqrpsnbsjecrtprseqkidffqthljgfglfpcemrjhjfbgqlrossdkiosqfslrsfnjqhbjbsigoklqnfjjjjebonmbhfipppinbqogdbmsbhhonhjofjbdsgrljjjkbjigbsjlsophibpooobffpqiqoslsdssljohkifjljdbsopbjsodblrsdqjlrdqbbrfojjspjgilfbppdjbribbsorbqqqqompobgoqsopo...
output:
smfhdhplmadljedcahqosikpbpgngpaebebirdccnhrsqmmpcatfgqtnbrgfhagptecqbskblopcrqcboehgiaaermdljajdaqponclmlakjedcfbbihgfbeabdcba
result:
ok single line: 'smfhdhplmadljedcahqosikpbpgngp...daqponclmlakjedcfbbihgfbeabdcba'
Test #32:
score: 0
Accepted
time: 5ms
memory: 3508kb
input:
1000 rcaiopeihfibnahpinlspnlpfqgaptnfqsgmtmfaamtrpgophergqdrrhrqqijgfqpilbbelgkddktfrofeaetqibeegqtkllgaeltredajqqtqbfrqdlbcifelfltoerilflnedeofdqifeforrddeqfqdqlrfplqelfqtjfqldqqdadqqqqlfordiqqeolirdrldqdgefaqfrflqeaffdrdarrqqrffqllfqaqtfdfeqdtdfraodllqeddqdkaifqfeqddleqlqqqlflrpigfdeldfdfddlladkfe...
output:
qpikohnklfkmgilhkgjdhgjhfecihbgfedcaba
result:
ok single line: 'qpikohnklfkmgilhkgjdhgjhfecihbgfedcaba'
Test #33:
score: 0
Accepted
time: 5ms
memory: 3828kb
input:
1000 lctfejbslbflpmmrkkmqklrkdhbgirfctcpghhklbtantbhihgmtokoibhrokrblprbamblkgbkttnlklpnrlpbhgpbiblnrkhbolloookhrblilokbktoblkrkhkkikbgrkkbkkgkkltobglbklkrbbkgklbokkrrklklbkglklgkkkobbkkkkgbgkrbkkglbbkgbklkkblgtkkkkkbbkklblolbbkkrkbbgkbklgbklkrkrbbkblkkrbkllkbbbkkglllgkoklkkkkkkblkolkrblkkkkkkkllbkk...
output:
lngotserleolmhhcaahqalcapdeifcongnmiddalegkjgedfdihgbabfedcba
result:
ok single line: 'lngotserleolmhhcaahqalcapdeifcongnmiddalegkjgedfdihgbabfedcba'
Test #34:
score: 0
Accepted
time: 6ms
memory: 3568kb
input:
1000 bnktqidsiockjnaaggrkajmnrkgabnijjbkgabbnrknnjjgarbaantbaskanbabgrbanbnbnasgaaabbbaraaaakaabbaraggaaraabbnbabranabganbanbabaanrabbbabrkajaarkababbaaabrgbbaaaaaaarbaaabaaaaagaanabaaabaaaaabbbbaaaaaaaaaaanraaaaabaabaaabbabaarbaabaarbaaaaaaaaanaabaaaaaaaaaaaabnbaaaaaaaabaaaaabaaabnaaaraaabaaaaabaaa...
output:
ogdnmjlkjihdbgccffedcba
result:
ok single line: 'ogdnmjlkjihdbgccffedcba'
Test #35:
score: 0
Accepted
time: 6ms
memory: 3620kb
input:
1000 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #36:
score: 0
Accepted
time: 4ms
memory: 3788kb
input:
1000 nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #37:
score: 0
Accepted
time: 5ms
memory: 3568kb
input:
1000 ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #38:
score: 0
Accepted
time: 5ms
memory: 3668kb
input:
1000 mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #39:
score: 0
Accepted
time: 5ms
memory: 3560kb
input:
1000 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #40:
score: 0
Accepted
time: 5ms
memory: 3624kb
input:
1000 ppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppp...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #41:
score: 0
Accepted
time: 5ms
memory: 3564kb
input:
1000 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #42:
score: 0
Accepted
time: 5ms
memory: 3504kb
input:
1000 cgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqiplbafcgjmhtkrdsnoeqi...
output:
tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...
result:
ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'
Test #43:
score: 0
Accepted
time: 6ms
memory: 3820kb
input:
1000 pblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkniqgercpblmadhofstjkbiqgercpblmadhofstjkniqgercpblmadhofstjkni...
output:
tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihsfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...
result:
ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'
Test #44:
score: 0
Accepted
time: 3ms
memory: 3820kb
input:
1000 fjphtqmasenidorgcblkfjphtqmasenidorgcblkfjmhtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasesidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidorgcblkfjphtqmasenidor...
output:
tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsnqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlklihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...
result:
ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'
Test #45:
score: 0
Accepted
time: 6ms
memory: 3564kb
input:
1000 calpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdeghrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhrfmgbocalpitqnksdejhr...
output:
tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjicgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...
result:
ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'
Test #46:
score: 0
Accepted
time: 6ms
memory: 3788kb
input:
1000 mirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkoskhqdmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngelafpcbkosthldmirjngelafpcbkosthqdmirjngelafpcbkosthqdmirjngegafpcbkosthqdmirjngelafpcbkosthqdmirjngecafpcbkosthqdmirjngelafpcqkosthqdmirjngelafpcbkosthqdmirjngelafpcbko...
output:
tsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfegcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcmatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponolkjihgfedcbatsrqponmlkjihgfedcbatsrqponilkjihgfedcbatsrqponmlkjibgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcba...
result:
ok single line: 'tsrqponmlkjihgfedcbatsrqponmlk...kjihgfedcbatsrqponmlkjihgfedcba'
Test #47:
score: 0
Accepted
time: 6ms
memory: 3788kb
input:
1000 edkkghfnlomcbspaqrtiedkcghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjqhfnlcmcbspaqrtiedkjghfnlomcbspaqrtildhjgofnlomcbsparrtielkjghfnlomcbspaqrtiedkjghfnlomcbspaqrcoedkjghfnlgmcdspaqrtiedkjlhfnlomcbspaqrtiedkjghfnlomcbspaqrtiedkjghfnlodcbsp...
output:
tsrrponmlkjihgfedcbatsriponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqdonmlijihgfedcbatsrqponmlkjihgfedcbalsoqpknmlkjihgfeccbatlrqponmlkjihgfedcbatsrqponmlkjihgfedciktsrqponmlpjisgfedcbatsrqlonmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlksihgfedcba...
result:
ok single line: 'tsrrponmlkjihgfedcbatsriponmlk...kjihgfadcbatsrqponmlkjihgfedcba'
Test #48:
score: 0
Accepted
time: 3ms
memory: 3624kb
input:
1000 bigqkhkngpjftodemalrbipqchonfpjftodomqlrbigqchknspjhlodemalrbitqchknspjftodemalrbngqchknspjftodemalrbigqchknspjftodemalrbigqchknsptftodemalrbigqchknspjftodefalqbigqchdnspjftodemglmbigqchknspjftodemalrbigqctknspjftodemcljbigqchknspjfjodemalrbigqchcnspjftodemadrbigqckknspjftodemalrbigqchknspjftod...
output:
tsrqnonmrkjihgfedcbatskqpogmikjihgfgdqbatsrqponmlkjobgfedcbatshqponmlkjihgfedcbatmrqponmlkjihgfedcbatsrqponmlkjihgfedcbatsrqponmlkhihgfedcbatsrqponmlkjihgfeicbqtsrqpofmlkjihgfedrbdtsrqponmlkjihgfedcbatsrqphnmlkjihgfedpbjtsrqponmlkjijgfedcbatsrqpopmlkjihgfedcfatsrqpnnmlkjihgfedcbatsrqponmlkjihgfndcba...
result:
ok single line: 'tsrqnonmrkjihgfedcbatskqpogmik...kjihgfedcbatsrqponmlkjihgfedcba'