QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#584853 | #6618. Encoded Strings II | Soestx | WA | 1940ms | 14308kb | C++17 | 1.8kb | 2024-09-23 17:05:27 | 2024-09-23 17:05:27 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define fi first
#define se second
#define lowbit(x) (x&(-x))
//typedef long long ll;
//typedef unsigned long long ull;
const int N = 2e6 + 10, M = 1e6,mod=998244353;
int n, m, k;
int num[N];
int res;
int la[30];
int dp[N],sum[1010][30],pre[1010][30];
int book[30];
int cnt;
int idx=0;
void dfs(int ct,int l,int w)
{
idx++;
if(idx>4e7)
{
return;
}
if(ct==cnt+1) return;
if(l>n) return;
int su=0;
int tmp=(1<<20)-1;
tmp^=w;
for(int i=0;i<20;i++)
{
int bk=((tmp>>i)&1);
if(!bk||!la[i]) continue;
int tp=(tmp^(1<<i));
int r=dp[tp]-1;
if(r>1e7) continue;
su=max(su,sum[r][i]-sum[l-1][i]);
}
if(su<num[ct]) return;
if(su>num[ct])
{
num[ct]=su;
for(int i=ct+1;i<=cnt;i++) num[i]=0;
}
for(int i=0;i<20;i++)
{
int bk=((tmp>>i)&1);
if(!bk||!la[i]) continue;
int tp=(tmp^(1<<i));
int r=dp[tp]-1;
if(r>1e7) continue;
if(su==sum[r][i]-sum[l-1][i])
{
dfs(ct+1,pre[r][i]+1,w|(1<<i));
}
}
}
void solve()
{
cin>>n;
string s;
cin>>s;
s='x'+s;
for(int i=1;i<=n;i++)
{
int t=s[i]-'a';
if(!la[t]) cnt++;
la[t]=i;
memcpy(sum[i],sum[i-1],sizeof sum[i]);
memcpy(pre[i],pre[i-1],sizeof pre[i-1]);
sum[i][t]++;
pre[i][t]=i;
}
for(int i=0;i<20;i++)
{
if(la[i]) dp[1<<i]=la[i];
else dp[1<<i]=1e8;
}
dp[0]=n+1;
for(int i=1;i<(1<<20);i++)
{
int t=i-(i&(-i));
if(t)
{
dp[i]=min(dp[i-lowbit(i)],dp[lowbit(i)]);
}
if(dp[i]==1e8) dp[i]=n+1;
}
dfs(1,1,0);
for(int i=1;i<=cnt;i++)
{
char c='a'+cnt-i;
while(num[i])
{
cout<<c;
num[i]--;
}
}
}
signed main() {
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int T;
T = 1;
//cin>>T;
while (T--) solve();
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 12212kb
input:
4 aacc
output:
bbaa
result:
ok single line: 'bbaa'
Test #2:
score: 0
Accepted
time: 4ms
memory: 14036kb
input:
4 acac
output:
bba
result:
ok single line: 'bba'
Test #3:
score: 0
Accepted
time: 4ms
memory: 13528kb
input:
1 t
output:
a
result:
ok single line: 'a'
Test #4:
score: 0
Accepted
time: 3ms
memory: 12868kb
input:
12 bcabcabcbcbb
output:
ccbbaa
result:
ok single line: 'ccbbaa'
Test #5:
score: 0
Accepted
time: 0ms
memory: 13824kb
input:
1000 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...
output:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
result:
ok single line: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #6:
score: 0
Accepted
time: 0ms
memory: 13312kb
input:
1000 ggkkkggggggkgggkgkgkkkkkggkkkgggkgkgggkkgkkgkgkgkgkgggkgkkkkgkgkkgkggkgggkgggkgkkgggggkkgkgkkkkgkkkkkkgkkggkkkkggkkkgkgggkggkkgkkgkgggkkggggkkggggkggkkggkgkgkgkkkgkkgkgkkgkkgkgkggkgggkgkkkgkkkgkkggkkggkkgkgkgkkkkkgkkggkgggkkkkgggkggkgggkkkgkkkkggggkkggkkkkgkkggkkkkkkgkgggkkkkkgggggggkgggkkkggkg...
output:
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...
result:
ok single line: 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...bbbbbbbbbbbbbbbbbbbbbbbbbbbbbaa'
Test #7:
score: 0
Accepted
time: 3ms
memory: 14308kb
input:
1000 edbbbbedddbeebedeedbddebddddbedbbdddeddeeddeebdedbbbdedddeeddbdddbbebbbdbeddbbbbbdeedebdddbbbebebbbdebebbeebbeeddddebdbdedbedddeebedebbddbededbdeebbbbbdbebddbebdbddebbddddbdeebbbddddbedddbedbeebdeeebdedbdededdbdebbedbbbeedbbedebddebbeebddebbebbdebeebddbdeddbdebdebebbdbebdddedbbdbedbbdbebbbddddd...
output:
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc...
result:
ok single line: 'cccccccccccccccccccccccccccccc...ccccccccccccccccccccccccccbbbaa'
Test #8:
score: 0
Accepted
time: 3ms
memory: 14240kb
input:
1000 hhqjhgqqjhqhqhgggqhgqghhjjgjjqqqhhjhhjqqjqqjqqhghghjhqhghhqhgjgjhqhjjjqjqgjgjgqhqqgjgqghgqjjhqjjgqghjqjhqjhghhghgqjqjhggjjhhjjqhqgqhjjhqqjqjghjjhjhqghqggjqjqjghjqhqjqgjqqjjqjjhjjqghqjjhhjhghhjggqqjjqgjqgqjhqhjqhjqqgjqhghghhjqqhhhjhjjgjjgjqgjqqqggjggqhqgjhqhqqgggqqhqqqjhqgjghhhqgghqqjgjhjqjhhqgh...
output:
ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddccbbbaaa
result:
ok single line: 'dddddddddddddddddddddddddddddd...dddddddddddddddddddddddccbbbaaa'
Test #9:
score: 0
Accepted
time: 4ms
memory: 13280kb
input:
1000 cceooojojcecesjojsssesjojccoecceoojecsscojsosoccojscjcjssococjscssosecooeejoosojeecjceoeeojcocosjcecocoesjceejjecssjejccjsjosjsjcjesjojcojocjjeooeccojjosjcjjcjoecseecsjccojcoessecejcocosecsojeoceejeccejeoosssscecjcssooojoseeccosocoeejjecsjeoecejsoojessoescecjjsscecoccjsjsscccssjoeejsscoesecssco...
output:
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeddccbaaa
result:
ok single line: 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee...eeeeeeeeeeeeeeeeeeeeeeeddccbaaa'
Test #10:
score: 0
Accepted
time: 0ms
memory: 13732kb
input:
1000 mmmfqfmpqrccmqfcrprpfppcpcffqcrcrcqmmmqmrfmrpqffppcmqpqqrfqqcffpmqqfmcmpmcfcqcffqmrmqrmmqmffpqqpfqrcppmmpmrqffmfcfffqmrprfcpfqffrrrmcqmpfmpfmprmcrrqqrmcrcmpcffmpfcprmcpmcfmpcfprrqrpcqccpcmmqcqqfmrcrrqrqcmcpqcrcqcrrpmpmfccqcffrrfmpfqqmqcpmfpmqpcmqpmfqpffmqpcrmcmqrqfqqcrfffcfqprcprrmfppfpqqmmrcmc...
output:
ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffeeeeddcbaa
result:
ok single line: 'ffffffffffffffffffffffffffffff...fffffffffffffffffffffeeeeddcbaa'
Test #11:
score: 0
Accepted
time: 0ms
memory: 12328kb
input:
1000 hljikoiljhkhhikjihlhokhjnjlijjhkhinohnioklilhonihliiiohllkniiokjiihkokkkhnijkkkijnnjljoihiljlnjhllnjlhojnjojnnjhllilnnoloiijioiohkononkijhniihjiinononokjjokljjkinonhkojknohijhlilhjjlhkhjoonojlknjnljniklohinhinnnkhnkljjknkjhhlhlkllihhihnlkjklhokkihlhlikjhkjokhkniooljkojjiiljjjnojkiojnkniljnkoljn...
output:
ggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggfeedccccbaa
result:
ok single line: 'gggggggggggggggggggggggggggggg...ggggggggggggggggggggfeedccccbaa'
Test #12:
score: 0
Accepted
time: 0ms
memory: 14008kb
input:
1000 cbpfmafbflfblamcccmcbbfqqfpbaaqfpccqqbqfcabmlbbmfqcpfqmcpqcfffacqbpbllappmbmcfpqqfqlcbcaclbbfqmqfqlammbcqblbccqcpabapcbbfcmpfcmmcpccbcbcfblfclmflpfaqppqbfppfpacmfqqafcmlmbqcbbfqaqffpafcbcqfpqmpcabfmcqcqpblfccmffplcbbaamcallbblmbcmammaablfmbfqqlcqacpqfaqpfcbamamcqcmqqffqfcbcffmabcfplabbmfqcampqc...
output:
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhgggfedcba
result:
ok single line: 'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...hhhhhhhhhhhhhhhhhhhhhhgggfedcba'
Test #13:
score: 0
Accepted
time: 4ms
memory: 13624kb
input:
1000 oikrbsjdjjsrcdbroobidjojkdjikbirccicdiicbskkciijkssjirjokcjosbbkcdkbrdroirsooiibsjokircbkjbrbkoobkrddcbossoskosbiksodsjkkocoricjkdscdickjdisiddbsdiikdisdcjdkddscdjjrkkddjbbbdidkidddijbibdisbicjokodrcbjkkcrokiciijssjjbscrssccckdjdirbbcocjkobrijssijjcjrcskdobrjcscbocoobdocobrorosiidoscrijjorsrirk...
output:
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiihgfeedcba
result:
ok single line: 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiii...iiiiiiiiiiiiiiiiiiiiiihgfeedcba'
Test #14:
score: 0
Accepted
time: 3ms
memory: 12792kb
input:
1000 cmctnhnrhchdnnaitttiirathamrkhtahnmrttkrhdimhatrttatrtmkiminahadihkdkrdthrkrhiandtmhtrdtiinicrmmirinnarkanadnhaatkkakarirnahrtcndarniihkdnddkhitkmdrtarhinirccaitdccnncnmnanhmtrdthkrmakdkktnimictdanrcmrhtcakmcmnahcrahkhtmadmhkrriinakkrhhddmnaknacchtacaktdnmaihnhcmtcchrdmihritatkactmmhattcrkknnkr...
output:
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjiiihhhhgggfeeedccbaa
result:
ok single line: 'jjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...jjjjjjjjjjjiiihhhhgggfeeedccbaa'
Test #15:
score: 0
Accepted
time: 4ms
memory: 13772kb
input:
1000 bcqeheddhchrddimchmikdfsmimikchdmmbreskiqfbikcdfhhmfbmqrmsibihciqqqsefmebmrbmcedhmdkmiqbdhsmkcqkifmiddhfieqersmksfiidqesisffhhrsbkiddbkbksrchchccifqkciidibqssihmmfrmfbeffhhqdbhmmdsisqkhqmhsmhckbccfreihdreiqqfcdsfffdbhsicbqfirhhchemfihedrbbkekhsfcccfmmieqfrrimsfddbqmkemciqfqrfbsresbhsiceffebfkfd...
output:
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllkkkkkkjjihgggfedcba
result:
ok single line: 'llllllllllllllllllllllllllllll...llllllllllllkkkkkkjjihgggfedcba'
Test #16:
score: 0
Accepted
time: 3ms
memory: 13404kb
input:
1000 pdipkeekpamgdiiafeigfaaoktngfpmkggmkdmaicekcoggpattofngagapfaifodftdmkfoctpdkkomkttgpotdggeeonkdieocdcdnffiittompaopieonamnpiigienpenieaigfiieaeiiftmpkaaegopdeamatngamagapfnppkgciptpnmpcmiagfdoaiemftddddenikaiidmmdopfapgnmefdidgdkegofmeofnetktinipopkfdpkikcodtkapngefetkaffgppkkieikmfadottcceipk...
output:
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmlllkjjjjiiihggfedcba
result:
ok single line: 'mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...mmmmmmmmmmmlllkjjjjiiihggfedcba'
Test #17:
score: 0
Accepted
time: 3ms
memory: 12416kb
input:
1000 redfdnprmcbbhfdlmepnolpfotdhlrrlbedeccnrdblprfbdptohmbldthoorcrnceelhochsrppfbotmlchhsftlemfhbcnpdltofescnhmdhombpcddpscfhnmrnordbehnpdlrbbbfcdsoohpbhtcpsrhffobpehhdtmfcmmsbnpcedtmpfcpfporehfbfbotcpbeobnlednofedbpldcrosfcfnplnhbdlohfedrpsosmrpedenpfrrnsbehslloeldemsoeenfrsssppldtnfelrlboepptlpo...
output:
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmllkkjjihhhhgfeeeeddcba
result:
ok single line: 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...nnnnnnnmmllkkjjihhhhgfeeeeddcba'
Test #18:
score: 0
Accepted
time: 0ms
memory: 12692kb
input:
1000 hegsdmeapjipglsnfmianparlaersaragrlepapooflllgnsiggjdjdpraslojdfdaaesfpllhnihselidejrgrfmmaldfnrejophlanehrdsjrrsidomemhmeafrgrrajrrfrjjgpfmgsprifnolfglhmnfapljamsldgrfsomopfedsegdadmojparrssjpfsfaporljfhsfhhgrnilmhdlppoldhaomrjprnfirlmnnhfseofjenrohflfndfiimmsirjopeeipafhphogsafrngjjiprnifeila...
output:
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooonnmllkjjiihhggfedcbbbba
result:
ok single line: 'oooooooooooooooooooooooooooooo...oooooooonnmllkjjiihhggfedcbbbba'
Test #19:
score: 0
Accepted
time: 3ms
memory: 13968kb
input:
1000 dgenmltemgsnbimnhicfomcbbliddfhllohldnthotglfeoobtohilblglibclhdlmmfgseslgseiimkhhbflfekildtgllfdkjolnilbtscnfjklfidbknhlljkokodbtmoccbiigicgnfdfbhktcomilkbijisdhmjcmgbkomojjfmdnjltbmnnsbslbtflkkbsofehhnndmjtifsisggeocdbtolimtnlhcoekedjsnhoobbjnhihbbtkomnjomiskfobilkjkbocdmhnffglfogtosndsitecdf...
output:
pppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppoooonnnmmllkkjjihhgfedcbbbaa
result:
ok single line: 'pppppppppppppppppppppppppppppp...pppoooonnnmmllkkjjihhgfedcbbbaa'
Test #20:
score: 0
Accepted
time: 0ms
memory: 13284kb
input:
1000 chkkcqdcggjsjadhtrjqgntecdhgrsqsbkqqqsodfkfcblqntsjrjnfcteghkafgjqtaaabdddakcbnabaqtoqdkogfgqaebrsdcdqkadkeqoleknokgfhshkqdhhsjddatblonnlnkllordrbgjjsjdedhlgsdsodcbcbojaehanhqetgnasocghtcrdbqdclegfscnqcelofffckefedohhadlhhnadnffbkreeletoknrrhrffrogrcgghaeglcefhbaaefggaabohttrstfgfqgcnnbeqjdklqr...
output:
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppooonnmmlkjiihgffedcba
result:
ok single line: 'qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq...qqqqqqqpppooonnmmlkjiihgffedcba'
Test #21:
score: 0
Accepted
time: 0ms
memory: 13160kb
input:
1000 mmimrctldielpadeocgmaifcafkhjccnaktgmsejehgcoialclsopnrokmamnahangmhfmgcrmlatislecsgiaaarkpssscshtcrncptsoijirnogggititpohtgcaegdaaeoegmioridoggttsorppehjhiondejafeanspotcngepscflcseeikasopdmdthgnasdnfedkookrnkjcsinkejkiskasoecnlnkigrdfktopfcoehlsednknimtshljrdlnnainrfskmddegerildgcnkmfoapefalm...
output:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqponnmmlkjihgfedcba
result:
ok single line: 'rrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...rrrrrrrqqqqqqponnmmlkjihgfedcba'
Test #22:
score: 0
Accepted
time: 4ms
memory: 13336kb
input:
1000 qdjplrlfkgqbnncnglcfdijiifboesenqmfjilnqrppabmntsgdefcjrkotiejacrdmqqoegtspofdejngqmddjatlfakscdcfdfjfrqkfllmoteldgnirkmpmbjfpkkiblsnjsqjijposifejtoliolrfionfiirqrdojcfqipraenpfeqfqcegkfctssmrrbdjkkrbctqiqejsfsqcgdnoaelcfaslegtrcefleqqjbtgjpbjrdqtmajcfgotetrkeeoqptnsbkgoaedsqorniralmeklcigocfal...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqqqqqppoonnmlllkkjihgfedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...srrqqqqqqppoonnmlllkkjihgfedcba'
Test #23:
score: 0
Accepted
time: 4ms
memory: 14172kb
input:
1000 opaqmbjhoctlnmefoocaqnqtecgbnirdjjhqkhiftktbslrpbacpjbrbreapkptlrcpjqpfobtiiqqtjpsrpitbljanmfdfbhldlplsniffflegrtckqjdarlhleffsalnjgmfrpasfgatgfffraheohidlolipksnskjjfaihidesjnlasitccjbbhpheglpdertnqqlgsfafikpneglbokpfaejipaeolmdrinnafpntfichatljgiqlaqhfmsmggdohcncpihiinqbssjnaleiripnbgllhcnnha...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqpppoonmmllkkjihgfeeedcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...tttsrrqpppoonmmllkkjihgfeeedcba'
Test #24:
score: 0
Accepted
time: 3ms
memory: 12704kb
input:
1000 bqttoirtmimqqjmmjojtinijhgiaaemjmajjnnjimianoqnnsmtoajocqtmmjqojjnojmomjntqimcnohijrtgantmjmmenqtmjphcggqiqofmqndfhthcetqgdjjohanctqimjetmtronheoidtnbgggggmnjsegeoejcigercqonlaajpimihnebjdnocimircginqqghaipimqhtqgstaiieethjcmcqsnojcagpedcebjqojoebineajamnoghnocamntqejgiajdihmogtogtsnsrbcgotqiti...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqqpooooooooooooooooooooooonnmlllllllllllkjjjiihgfeeeedcccba
result:
ok single line: 'ssssssssssssssssssssssssssssss...mlllllllllllkjjjiihgfeeeedcccba'
Test #25:
score: 0
Accepted
time: 4ms
memory: 13904kb
input:
1000 obdscoicccodscbddboscsddsbdsicihdidcdccbbbccobsccsbsaapbioobbbmcssssdobssmobhhhsbcdsssmdbsgddsshnbcoaccbampsiiibodocmcsmoobicmmjabmcccpboibhoodsohbssssbddsmcdddcbpsdhcsaccdmdspcdsicassbosbsobbsaocdccshsbsoihodoqdscbbhdshddcbobpfmjcbcobjmjccqohdhaidgscspoimmbhccccdhsmiophgscqnbfbodcbddospbsosbdd...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrqqpooooooonmmmmmmmmmmmmmllkjjjjjiihggfffeddddcbbbbbaaaa
result:
ok single line: 'ssssssssssssssssssssssssssssss...llkjjjjjiihggfffeddddcbbbbbaaaa'
Test #26:
score: 0
Accepted
time: 3ms
memory: 12224kb
input:
1000 ddapcpcdaaddadaadcdddkaddadkcdapdadtdcccdkdddacbddcddddaahhdaddddckddkdpddddfpcdddccahcadhaapdacddcppcchdcddddadpacccapdddaaadhcdcddadacddcchaadddkkdeaecdcadbkdkhccdpadpkkdaddddcdacbdcddtapaphapdckcdcdcappahcdpahccbcarhcpcaadcbpcakkappahpdtpdddadcccptkddbaaphtpkkddoddaaachddapchbhdddkhtcocdadpk...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrqqqpponnnnmllkkkkkkkkkkkkkkkkkkjiiiiiiiiiiihgggggggggggggggggggggggggggggggfeeddddcbba
result:
ok single line: 'ssssssssssssssssssssssssssssss...ggggggggggggggggggggfeeddddcbba'
Test #27:
score: 0
Accepted
time: 0ms
memory: 13740kb
input:
1000 oooookooonnoonooonooonoonoonnoooooonlnnooonnonooknokoonknoononkooooooonooonooooooonoookooonnokoonkknnonnononoooooonnoonoooonoonnonoonnnonnoknloookooooononoooookkonknonknonooooonnojnookonoknonojnojokoonoononnonoooonojnnnnnojoonjoonjoknoooooodnnonodnoonooonoooojoojnoonojokloojnnoookooojojooonnooo...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqqppppoonmmmmmlkjjihgggggfeeeeeedccccccccccccccccccccccccccccccccccccccc...
result:
ok single line: 'ssssssssssssssssssssssssssssss...cccccccccccccccccccccccccccccba'
Test #28:
score: 0
Accepted
time: 0ms
memory: 13608kb
input:
1000 rrrrrprrrrrrrrrrrrrrrrrrrrrrrrrrrrprrrprrrrrrrrrprrrrrrrrrrarrrrrrrrrprrrrrrrrrrrrprrrrrrrrprrrprrrrrrrrrrrrrrrrprrrrrrprrrrrrrprrrrrrrprprrpprrrrrrrrrrrrrrrrrrrrrrrrrrpprrprrrprrrrrprrrrrprrrppprrrrrrrrrrrrrrrrprarprrrrrrrrrrrarrrgrrrrrrprrrrrprrrrrprrrrrrrrrpaprrrrrrrprrraprprrrrrarrrrrrprrrr...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss...
result:
ok single line: 'ssssssssssssssssssssssssssssss...nnmmlkjihhhhhhhhgffffedddcbbbaa'
Test #29:
score: 0
Accepted
time: 3ms
memory: 12320kb
input:
1000 kjqfkgkbrigotcjqfnpdthairikbbnmghtfmlklontrdtrcbhiojmmjchkfdqjnjoobgnmicqrogbpooaihcmqkaokamhkdrecfopijirfnogekhootgbctgimlqddigjpfgllfnmmthbqpmmmdqdtattgjlgtltmpijipqrbpbqjjktllrhlrigaohbmjadrnfmhgkbtftghfkfrdbkqncfbdfcbiiddidtnamemcbctdblcdnbcjfkqbckddtfrklrckaecdbdbctfjicfbrkfdonlodbtcladrni...
output:
ssssssssssssssrrrqqqqqqqqqqqqqqqqqqqqqqqqppponnnnnnnnnnnnnnnnnnnnnnnnnmllllllllllllkjjjjjjihhhhhhhhhgffeeeeddcbba
result:
ok single line: 'ssssssssssssssrrrqqqqqqqqqqqqq...lkjjjjjjihhhhhhhhhgffeeeeddcbba'
Test #30:
score: 0
Accepted
time: 0ms
memory: 12760kb
input:
1000 elirfetpqjlntsotkoqefjjqqdgggghhrsnqmbiehrqqjrppkqgolgqnbdkmbgmbseijrfttkddnljfqnbdeddnpqdtbiifkhhqcfftcptetokfdsotcrqspddnsfpobfgesqjrckroppqertncisqqfolkkqisoppceitrppikkctmkeqjkombgorssqlfrjdfrtdckpciotqptipssoeossskqqkcptfjssrsppskcpoptfrrqbkprkpirotossicqsipfpqoqpbifqirisqqkrlkoroopfpksfcq...
output:
sssssssssssrrqqqqqppponnnnnnmlkkkkkkkkkkkkkkjjjihhhhhhhhhhhhhhhhhhgffffffffffedccccccccbaa
result:
ok single line: 'sssssssssssrrqqqqqppponnnnnnml...hhhhhhhgffffffffffedccccccccbaa'
Test #31:
score: 0
Accepted
time: 4ms
memory: 12928kb
input:
1000 rkkpormjggsrsfngapgporssflihsjgffktpqemoaenhmajblkqfihnghojtkoqnoleefiofrfemagcncphchostjsjaioaahmpnoohhfoofgnhinohjommagfmamofhlahajhlhnahaohfeafehfhhmiojjfhnjoaofcanhfifiaoofflmcfohhffnjajhmmfahfohhhofamahfoaomahmhjfahhheacahjoonmanejanoeffhoaofjfefjjhaafocfnjfaamffaoehaofohfhaahfjhmohnhnhjha...
output:
sssssrrqqpoonmmlkkkjiiihggggggfeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeedccccccbaa
result:
ok single line: 'sssssrrqqpoonmmlkkkjiiihgggggg...eeeeeeeeeeeeeeeeeeeeedccccccbaa'
Test #32:
score: 0
Accepted
time: 3ms
memory: 13228kb
input:
1000 pophnfbpnekenictgplfbklgbbbdchfcapbkdqhfcnlhggcnkbqbfdggaqclcnggppbllbgdqqnnccnclcgbcccqnkcncdccqcchnnngkgngccgpclnncknhcnccqccbnhqgcngggccccggncnnncncnbnnnqngnnchcnnnnclcncqqccqqnqccnccclghcnccnccccccccckcgqncccccnnccgggqccggnncnkncccccnncncccnccccnnccccclnncnncccgccgcccncccgcnnnqccccgnqcqccng...
output:
poonnmlkkkkkkkjiihgggggggggggfeeeeeeeeeeeeeeeeeeeeeeeeeeeeedcccccba
result:
ok single line: 'poonnmlkkkkkkkjiihgggggggggggf...eeeeeeeeeeeeeeeeeeeeeeedcccccba'
Test #33:
score: 0
Accepted
time: 3ms
memory: 12968kb
input:
1000 ibiltjgtsjfppnfrogikrpknhfppkgonfkfkghrphbnnppskppnpnnnpppnrrpponpnrnrrpknpkkrkrppprprprpokprpprrphkpprrpprpnrpkrpsrkpppppprnpprpppprnppppnnsrpkpppprpppprppnpnrppkpprhrprpppprrprhrrnpprrpppppppnprpppnnhpppppppprpnppprrrppppppppnppppppppppppppprppppnpppprpppppppprpnprprpppppppprrppnpppprpppprppp...
output:
nnmllkjjjjjiihggfeeeeeeeeeeedddddcbbbba
result:
ok single line: 'nnmllkjjjjjiihggfeeeeeeeeeeedddddcbbbba'
Test #34:
score: 0
Accepted
time: 0ms
memory: 13808kb
input:
1000 llllllllllllllllllllllllllllllllllllllllllllllrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmpppppppppppppppppppppppppppppppppppppppppppppppppppppiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...
output:
ssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #35:
score: 0
Accepted
time: 0ms
memory: 13392kb
input:
1000 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqccccccccccccccccccccccccccccccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrlllllllllllllllllllllllllllllllllllllllllllllllllllllllppppppppppppppppppppppppppp...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #36:
score: 0
Accepted
time: 3ms
memory: 13596kb
input:
1000 dddddddddddddddddddddddddddddddddddddddddddddddddddtttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqeeeeeeeeeeeeeeeeeeeereeeeeeeeeeeeeeeggggggggggggggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrppppp...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooonmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmllllllllllllllllllllllllllll...
result:
ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #37:
score: 0
Accepted
time: 3ms
memory: 13528kb
input:
1000 ffffffffffffffffffffffflffffffffffffffffffffffffffffrfffffcccccccccccccccccccccccccccccccccccccccccccccccccciiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiibbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbddddddddddddddddddddddddddddddddddddddddddddddddddddggggggggggggggggggggggggggggg...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'ssssssssssssssssssssssssssssss...cccccccccccccccccccbbbbbbbbbbba'
Test #38:
score: 0
Accepted
time: 0ms
memory: 13732kb
input:
1000 hhhhhhhhmhhhhhhhhhhhhhhahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkfflfffffffffffffffffffffffffffffffffffpffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeqeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeepppppppppppppppppppppppppppppppppppppppfpppp...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn...
result:
ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #39:
score: 0
Accepted
time: 3ms
memory: 14156kb
input:
1000 rrrrrrrrrrrrrrrkrrrrrrtrrrrrrrrrorrrrrrrrrarrrrorrrooootoooooooooooorooomoooookooroooooooooooooosssssssssssssssssssssssssssssssssssssssgssssssssssssssssssssssssfffffeffffffffffffffffffffffffffffftttttttttttttttttttttttttttttttrttttttttttttttttttttttttttbtttojjjjjjcjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooonmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
result:
ok single line: 'ssssssssssssssssssssssssssssss...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #40:
score: 0
Accepted
time: 0ms
memory: 12356kb
input:
1000 ssssessssslomsssssssgssksssstsssssssssssssssssssseeeeeeeetseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeoelneeeeeemeeeeeeeeoaaaaamaaagaaaaaaaaaaaaaaaaaaaaadaaaaataaaaaaaaaaaagilgggggggggggagggggggggggggggggggggdggggsggggggoooooooooiooeooooeooosoomoooooooooooooooooooooooooopomoooobtltrtttttmstttttttntttt...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmlkjjjjjjjjjjjjjjjjjjjjjjjjjjjjihgggfedccccccccccccc...
result:
ok single line: 'ssssssssssssssssssssssssssssss...gggfedcccccccccccccccccccccccba'
Test #41:
score: 0
Accepted
time: 0ms
memory: 14156kb
input:
1000 qmqqqqqqqqqqboqqcqqqqqqqqaqqpqqcqqqqqqqqqqqqqtqiqqqqqqqqqqqkqqqqqpppseeelieeereteeeeeeeeseeeseeeeeeeeeeeeccccccaccqcccccccctcccccccccccqccccccckcccfasclccccdffffffffffffkfffsfifaffrffffffffffffmftattttbtqtttlbhtttttttttttttttttttkattttttttttttqttttgagggggdgggggggggggggggggggggggggggggggggggggmg...
output:
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqpooooooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnnnmllllllllllllllllkjihhhhhhhhhhhhhhhhhhhhhhhhgfffffffffffffffffedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...hhhhhhhhgfffffffffffffffffedcba'
Test #42:
score: 0
Accepted
time: 0ms
memory: 12972kb
input:
1000 nhnnnqnnnnnhnnnnndnnlnennnnnmdninnqnnnnnnninnecnhhhhhhhhkcthhhhhnihhhmhhhhnhphqhhhehhhhhhhbhhhsedhhqhhhchllllllijllmblppllllbtqqpjblllqllllllrllltlllllglllblljlklagakahcaeanaaaaaaaaaaagaagalgbaeafaaaigaaamaaaaataaaadiddddddhdnddddddsdddceddkddpmddidmbsdtdcbmdiddddsdddqiqqqeqqqqqqqjqlqnmqnqijqql...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqppppppppppppppppppppppponnmmmmmmmmmmlkkjjihhhhhhhhhgfedcbaa
result:
ok single line: 'ssssssssssssssssssssssssssssss...mmmmmmmmlkkjjihhhhhhhhhgfedcbaa'
Test #43:
score: 0
Accepted
time: 0ms
memory: 13340kb
input:
1000 ncnnmnnirhhdnnngnnqdhnknpnnjkfqnnimahkrftindknhmapnnqissgssdgnstlssdmsbssknsgcpqbsississlohmgsifnppqcjasppkpsspaqppfpfopqpppppsfpbnppdfprcppnpcrbpppnrqpptcooorcoooiobogoooponohookiaiolalstojooomoaccocjgfjkdfkjjpjjjsjgsgjtjjkfjtmjcjlskjrdmfjjftjmhjtdpdildkdpkdoddmddcdrdddkpdfdafidkjdddpjnidbhrdt...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrqppppppoonmmlkjihhhgfedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...ssrrrqppppppoonmmlkjihhhgfedcba'
Test #44:
score: 0
Accepted
time: 4ms
memory: 13944kb
input:
1000 rgrnmmqajgjjgmpbbgqagpghdtttbercqgfhogpigaqrprehlgaoaanctmqeaorqgnnqndtqabnnbenfcannecnahtaslntepaphdoondcbnicdopbrgjcbbiqbedijgrqgrdnrpnpbambbtrlpegjhdpqeqcpqblmlppbtfnnchhrpaqoteedaaerrnpjipsprsnrbagpogqicdosdqofbcmsjtjoooftfmmmmfmnsoaojoldqonopqamohaioophhohhaohhebmosibgaephnthniehmhiihjrjtf...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqppppoonmmlkjihgfedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...sssssssrrqppppoonmmlkjihgfedcba'
Test #45:
score: 0
Accepted
time: 4ms
memory: 13100kb
input:
1000 ehrblhrmhoqcleahbjjqtoqrbbmatbjtmelrahecorcenqspotberdkkrlomdkqfccdfooepjlicltjhjhlhekifqafjcskbfqnnipdiqtckplidriibehbekqokifmshkknmnpdlfmlfndlfcrpfpadslmoatbsjjcobbbmitbehndilsqseepdkaqipdbijbpqjfqleqkjhmomrscsoofmjplqspjkekkppfjsapfnqkmilicocilcqnenidjhmjnlikdtjcmierhiocrhfmfcebepcqnjkkjffoi...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqqpoooonmmmlkkjihhgfedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...sssrrqqqpoooonmmmlkkjihhgfedcba'
Test #46:
score: 0
Accepted
time: 0ms
memory: 12636kb
input:
1000 tgkikmnqbtgfboqodhndoacltpmbmfthtnadbitnbsnginnnmcoathosndddnmrsokhpcensobrqgglbihmbgffpasmdlqknckchpcbinpabtfefpqbfkfhglnnkcbepqbhcohiliilncfdcbglkehpnhencfsniirmrtiiriipmkpofctgfaalnireckepkosskqdkkinlsfiepnkskaoigkagtdmmokrmtasbaarfglmechlcairapitphomnhotomihgnrhatqdmkgchmilslbdgbcorhhamsqtd...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrqqpooonmlkkjiiihgfedcba
result:
ok single line: 'ssssssssssssssssssssssssssssss...sssssssrqqpooonmlkkjiiihgfedcba'
Test #47:
score: 0
Accepted
time: 3ms
memory: 12416kb
input:
1000 prfapiajrgrjanqobqkjgkokmajenhobtkkgkpldfqapofkbhaqkntfoklidamkcbaqpodoefladdlcgemnjeobhdehjadocfqhjnfnccbtipknaqcnfinjnoebfjmdnoqqkadfdngmqmaadolkfpltkaqhatmbbmrjpmqjmaofqjenoopbkppthrrmmimjdtkiclgflqglnrqakldppqhqmqdgmqrbqiqjjtkelltjejamagleqmtegceqcqhcikgrirocmdicodihdgdtnjahlciheqdfrcgpchoi...
output:
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrqqpooooooooonmlkjiihhgfedcbba
result:
ok single line: 'ssssssssssssssssssssssssssssss...rrqqpooooooooonmlkjiihhgfedcbba'
Test #48:
score: 0
Accepted
time: 0ms
memory: 12376kb
input:
1000 ihtnhaatmfnnjhmnflannfttfsjaiqmqjddqqrlfhmmjnmhqlthqmfhhftfiffftttmchnifohnhfmftrmadqhjdhtnffnmfjnctaccadamdqnmefdnhrchdqssihjnqmomrmlohnnqdlnmahatdahmhqffodnfttairantloriaqnqhnqmihasahdihnjnbcdrtndjqdlcqhbmajislhntiatttcfhfadcacolchfhfnmnanqajthfmjpqimihqqhkeocahrafhlfomffrftnnmtcfqrhntirhbceh...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssrqqqqqqqpooooonnmmlkjjjjjihgggggfedccba
result:
ok single line: 'tttttttttttttttttttttttttttttt...pooooonnmmlkjjjjjihgggggfedccba'
Test #49:
score: 0
Accepted
time: 3ms
memory: 13332kb
input:
1000 istacriaaimhkashicshismmsnihcnramchstiacniasscsricnchsccsiscssisacitassmnsakinsabhhctssfsiciaiaarsiisicissshcbqciaiknrscaaatnaarcmafsicmabialsncnacricsicakicciitnsicqanqaissthsbamismbaicmaantmmbairnrmhrcrcmhrisassmihcrnbnisfbirtgitbacrnhmbsasashmcmfccbminksammsspmnmmaiceabsitcttintqmacksbmaaias...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssrrrrrqpooooonmmmmmmmmmmmmmmmmmmmmlkjjjjjjjjjjihhhggfedddddcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...mmmlkjjjjjjjjjjihhhggfedddddcba'
Test #50:
score: 0
Accepted
time: 3ms
memory: 14112kb
input:
1000 ssrsaodoododddodadeosisdsdddodsddoodrdsodadsodpodadorosrrdrodddobabdorodddoddodaoodoaoadeodaaddosoososoarossdsmroodsoddsdddsiddordsddrsadooodsooerdoroorpdooriosrdddosaoddrddodridoboirsdiirdosdsamoseaiododordsoosdaipososasoesiddsopddddddrsdbopdorsadaaooedbioddcmmaerooesdooaopadmarsodasmseedlmaio...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssrqqqqpponnnnnmmlkjiiihgggggfeeeeeeeeeeeeeeeeeeeedccccbba
result:
ok single line: 'tttttttttttttttttttttttttttttt...ggfeeeeeeeeeeeeeeeeeeeedccccbba'
Test #51:
score: 0
Accepted
time: 3ms
memory: 12592kb
input:
1000 frffrffffffffffpfrffffpfffrfrfffffrrfrffffpffffrfpfrffffrfprfffpfrfffffffrfrffffffrfffrfpffffrpfffffrfrfffffffffffrffffpffrrffpfafffsffffffpfsfrfrfrfrffffffrfkffsffffffrffrfaaffafrrfffprffrprrfffrrfpfffrffrfffpifffrsrfipffpfprfrsffafffprffifrapfrrrrrrpffrfrfrspffsarffrfrfrppffparfsffrrfpfpaafaf...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssrrqqqqqqpppponnnnmlkjjihhhhhhhgffedddcbbbba
result:
ok single line: 'tttttttttttttttttttttttttttttt...onnnnmlkjjihhhhhhhgffedddcbbbba'
Test #52:
score: 0
Accepted
time: 0ms
memory: 13480kb
input:
1000 jtjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjtjjjjjjjjjjjjtjjjjjjajjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjtjjjjjjtjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjtjjjjtjjjjjjjjjjjjjjjjjtjjjjjtjatjjjjtjtjjjjjajjjjjtjjtjtajjjjtjjjjjjjjjtajjjjjjjjtjjjjjjjjjjjjttjjjtjjjjjjatttjjjtjjtjjjtjjtjtjjajjjttjajtjjtjttjjjjktjjjt...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt...
result:
ok single line: 'tttttttttttttttttttttttttttttt...cccccccccccccccccbaaaaaaaaaaaaa'
Test #53:
score: 0
Accepted
time: 0ms
memory: 13092kb
input:
1000 imkissilgtjrjrspldhdfeoeknmgfndooeebenddotbsidlfjtffirrgqkjhhcapnjokhphrrcfqhtgfdpgfbboqpioknijgddtkjksnlboqrapfhljhlnhegacqbhfnjlfhbkqhrlkonjolspipkcoclnertlbpacdkmrpdpobgologfiokrprnorltfdaljfmdtpsarctbgahcfsckofhrhrfgnehkfangfmfpbgithhfpfdrhcnhfriihbhfngghtprhnhmngfgbpfqngmcpgoihqoakgrgskghf...
output:
ttttttttttttttttssrqqqqqqqqqqqqqqqqqqqqpooooooooooooooooooooooooooooonnmmlkkkkkkkkkkkkkkkkkkkjiiiiiiiiiiiiiiiiiiihgffffeddcbaa
result:
ok single line: 'ttttttttttttttttssrqqqqqqqqqqq...iiiiiiiiiiiiiiiiiihgffffeddcbaa'
Test #54:
score: 0
Accepted
time: 3ms
memory: 13300kb
input:
1000 nhoklkcjhfljgqlrfkpendbcscimicfqsqsdtlrrmktnphhcrfaoipamstiokficaqrpsnbsjecrtprseqkidffqthljgfglfpcemrjhjfbgqlrossdkiosqfslrsfnjqhbjbsigoklqnfjjjjebonmbhfipppinbqogdbmsbhhonhjofjbdsgrljjjkbjigbsjlsophibpooobffpqiqoslsdssljohkifjljdbsopbjsodblrsdqjlrdqbbrfojjspjgilfbppdjbribbsorbqqqqompobgoqsopo...
output:
ttttttsrrrqqpooooooooonmmmmmmmmmmllllkjjjjjjjjjihhhggfedddddddddddddddddddcbbbbbbbbbbbbba
result:
ok single line: 'ttttttsrrrqqpooooooooonmmmmmmm...ddddddddddddddddcbbbbbbbbbbbbba'
Test #55:
score: 0
Accepted
time: 3ms
memory: 12872kb
input:
1000 rcaiopeihfibnahpinlspnlpfqgaptnfqsgmtmfaamtrpgophergqdrrhrqqijgfqpilbbelgkddktfrofeaetqibeegqtkllgaeltredajqqtqbfrqdlbcifelfltoerilflnedeofdqifeforrddeqfqdqlrfplqelfqtjfqldqqdadqqqqlfordiqqeolirdrldqdgefaqfrflqeaffdrdarrqqrffqllfqaqtfdfeqdtdfraodllqeddqdkaifqfeqddleqlqqqlflrpigfdeldfdfddlladkfe...
output:
tttttsrrrqqqqpooooooooonmllllkjjjjjjihhhhhhhhhhhhgfffedcccccbba
result:
ok single line: 'tttttsrrrqqqqpooooooooonmllllkjjjjjjihhhhhhhhhhhhgfffedcccccbba'
Test #56:
score: 0
Accepted
time: 0ms
memory: 13536kb
input:
1000 lctfejbslbflpmmrkkmqklrkdhbgirfctcpghhklbtantbhihgmtokoibhrokrblprbamblkgbkttnlklpnrlpbhgpbiblnrkhbolloookhrblilokbktoblkrkhkkikbgrkkbkkgkkltobglbklkrbbkgklbokkrrklklbkglklgkkkobbkkkkgbgkrbkkglbbkgbklkkblgtkkkkkbbkklblolbbkkrkbbgkbklgbklkrkrbbkblkkrbkllkbbbkkglllgkoklkkkkkkblkolkrblkkkkkkkllbkk...
output:
tsrqqqpoonmllkkkkkjjjihhhhggffeddddddcbbbbbbbbbbbbbbba
result:
ok single line: 'tsrqqqpoonmllkkkkkjjjihhhhggffeddddddcbbbbbbbbbbbbbbba'
Test #57:
score: 0
Accepted
time: 0ms
memory: 12920kb
input:
1000 bnktqidsiockjnaaggrkajmnrkgabnijjbkgabbnrknnjjgarbaantbaskanbabgrbanbnbnasgaaabbbaraaaakaabbaraggaaraabbnbabranabganbanbabaanrabbbabrkajaarkababbaaabrgbbaaaaaaarbaaabaaaaagaanabaaabaaaaabbbbaaaaaaaaaaanraaaaabaabaaabbabaarbaabaarbaaaaaaaaanaabaaaaaaaaaaaabnbaaaaaaaabaaaaabaaabnaaaraaabaaaaabaaa...
output:
onmlkkkjiihggggfeeeeeedcccccccbaa
result:
ok single line: 'onmlkkkjiihggggfeeeeeedcccccccbaa'
Test #58:
score: 0
Accepted
time: 4ms
memory: 13304kb
input:
1000 kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkfffffffffffffffffffffffffffffffffffffffffffffffooooooooooooooooooooooooooooooooooooooooooggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrcccccccccccccccccccccccccccccc...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooo...
result:
ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #59:
score: 0
Accepted
time: 0ms
memory: 12452kb
input:
1000 iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiillllllllllllllllllllllllllllllllllllllllllllllllggggggggggggggggggggggggggggggggggggggggggggggqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqffffffffffffffffffffffffffffffffffffffffffffffccccccccccccccccccccccccccccccccccccccccccccccccccccccr...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooooooooooooooooooonnnnnn...
result:
ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #60:
score: 0
Accepted
time: 0ms
memory: 13032kb
input:
1000 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhddddddddddddddddddddddddddddddddddddddddddddddddoooooooooooooooooooooooooooooooooooooooooooooooooooooootttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttqqqqqqqqqqqqqqqqqqqq...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooo...
result:
ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #61:
score: 0
Accepted
time: 3ms
memory: 12620kb
input:
1000 eeeeeeeeeepeeeeeeeeeeeeeeeeeepeeeeeeeeeeeeeeeeeeeeeeccccccccccccccccccccccccccccccccccccccccccccccccccccnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnninnnnnnnnnnnnnnnnnnnnnnnnnnnnnniiiiiiiiiiiiiiiiiiiiiiiiiiiiniiiiiiiiiiiiiiiiiiiiiiiiiiiiiidddddddddddddddddddddddddddddddddddddddddddddddddddjjjjjjjjjjjj...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppooooooooooooooooooooooooooooooooooooooooooooooooooo...
result:
ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #62:
score: 0
Accepted
time: 3ms
memory: 12348kb
input:
1000 pppppppppppppppppppppppppppeppppppppppppppppmmmmmmmmmmmmmmmmmmmommmmmmmmmmmmmmmmmmmmrmmmmmhmmmmnnfnnnnnnnnnnnnnnnnnnnnnnnnqnnnnnnnnnnnnnnnnnnnniiiiiiibiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiggggggggggggggggggggggggggggggggggggggggggeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeepeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrrr...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqppppppppppppppppppppppppppppppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
result:
ok single line: 'tttttttttttttttttttttttttttttt...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #63:
score: 0
Accepted
time: 4ms
memory: 13936kb
input:
1000 nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnbbbbbbbbbblbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbblllllllllllllllllblllllllllllllllllltllllllllllllllffffjffffffffffffffffffffffffjfffffffffffffffffffffffkkkkkkkkkkkkkkktkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkeeeeeeeeeeeheeeeeeeeeeeeeeeeeeeeeeeeee...
output:
ttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm...
result:
ok single line: 'tttttttttttttttttttttttttttttt...eeeeeeeeedcccccccccccccccccccba'
Test #64:
score: 0
Accepted
time: 3ms
memory: 13476kb
input:
1000 eeeeqeeeeeebedeepeeeeneeeeeeeeeeedeeeeeeeeeeeeeinbbbbbjbbbjbbbbbbbbobbbsbbbbabbbbbbbbbbbbnbebbbbbbkkkkkkkkfkakkkkkkkkkkqpkkkkkkkkkkkkkkkkkkkkkqqqqqqqpqqqkqqqsqqgqqqqgqqqqqqqqqqqqqqqqqqeqqmpqqqqqqqqqqmmqmmmmmmmmmmmmmqgmmmmmmmbmcmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmcccccccccccccccccccccccccccccccccccccc...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppppppppppppppppppppppppppppppppppppppppppppppppppppoooooooooooooooooooooooooooooooooooooonnnnnnnnnn...
result:
ok single line: 'tttttttttttttttttttttttttttttt...hhhhhhhhhhhhhgfedccccccccccccba'
Test #65:
score: 0
Accepted
time: 4ms
memory: 13096kb
input:
1000 cccccccjiccccccccchccfccctcccccccccccccccccccccccccsmmmommjmmmmbmmmmrmmmmmmmmmsmmmpmmmmmmmkmhhhhhhahhhbhhhhhhhhhhohhthhhhhhhchhhhhhhhhhheihhhhhhthhhfhhlllllllflllilllllllqlllllllllllllllglflllllllpllgkgggggpggggggntgggigagoggggggtggggggbgggglqaaaaaaaaaaaraahagaaaaafaaqiaaaaaaaaaaaaaaaaaqajaaanp...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssssssssssssssssssssssssssrqppppponmlkkkkjiiiiihgfedcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...ssrqppppponmlkkkkjiiiiihgfedcba'
Test #66:
score: 0
Accepted
time: 3ms
memory: 13316kb
input:
1000 ogajooiokooocoocoloojooooooooaoopomojoqomoooocmmmmpfnmrcmmglmmmemhmmammmmmemmsqommtmhmmmommdmmmmmjtttdtcttttttnirhttmtttttttttttahtttpnthtttthriiiigiiiiigiiiiiiniiiaiihipiiieiicidsiiiitcoeqpiiniriiqfgggmgofggigngdggiggkdgggogrgggggggggglggpgpkhpppppppppqtppppoipppfppppcppqpppppiepipfplpgstdppas...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssssssssssssssssssssssssssssssrrrrrrrrrrrrrrrrrrqpppppppppppppppppppponnnnnnmllllkkjjihggfedcbaa
result:
ok single line: 'tttttttttttttttttttttttttttttt...pppponnnnnnmllllkkjjihggfedcbaa'
Test #67:
score: 0
Accepted
time: 3ms
memory: 13528kb
input:
1000 stajabsssdshsanprcsspqassfssqsssmeedmmsnssmsssssasqassrghkkgajkdhcgggegortfgnpngggpkegqlgggkgegggegapeejpglpdqnmrpprppphedbhcplhqpppcmbccppppdtpriqnddcipioffqakajqasaapgallaiaaaasramaoaksisnsiafhaegpaaetcarlidafkaaftlqgttsnttagtrtencmttktbggtptthobgmtholttotshctttnnbpbtjimkbljmlklekbpmabbmckbfb...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttsssssssssssssssrqpppponmllllkjihgfedcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...sssssssrqpppponmllllkjihgfedcba'
Test #68:
score: 0
Accepted
time: 3ms
memory: 12628kb
input:
1000 nnalcjmhcccfkceoplntcohampjcsbcqgcdnpkqrngcjqocoandsdmgboanmloobgqoqdoqlteinrooonlnbegbolcohqbnkgagosnjoamhlipgdetdtsnpdarsdmfppkbbmicefasiekkcnqjmemeaiodoknteaibmlpmlgilmpptgdijnrngqboohitibafisnemjrjrifcdkbinmccmtkmgjimoienggjefiggjhakfrtaqeojhdkqektimkkooamefmkgeqdncjmclkiroloksdqsckfflrknkj...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttssrqqqqpoonmmmmmllkjiihgfeddcbaaa
result:
ok single line: 'tttttttttttttttttttttttttttttt...rqqqqpoonmmmmmllkjiihgfeddcbaaa'
Test #69:
score: 0
Accepted
time: 3ms
memory: 13508kb
input:
1000 iotlfkpgnteocmgarakaraaqdthjqahaimrjhraoobdhnempllltjqdoqomeibaaerppksjbgablrkbrtaheabadfsfgfjnrpfngjtmqmshalisjijnnfcencradshreohesnfmhhdlfqtekktodnlfdrjcecmleamllaqotodekhsiobfschasmmbrataeqfbcjoerdbhsnggjkglgfnretnhldksjqqnhlpgbcqadcscmmntocgtgitqipicrcoahodjlggmigaedibigbgeofsotoopkjhjatjhp...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttssssrrqqpooooonmmlkkjihgfedcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...tssssrrqqpooooonmmlkkjihgfedcba'
Test #70:
score: 0
Accepted
time: 0ms
memory: 12488kb
input:
1000 brknftjrdbthbfphdrnghkalkjnooftjohnodktlrpllpcoaqjkfalbjfrosqnahregdtttinaeejljcmcbbhikdeofjlbkdnblabfhflibnqigteolhffdiojdrqshiqprgrgposmgjjnkhkhstacammedflbnqfasaeoogreskdjntotkqfdfatcqjqjnmlcddoshnpsbjpjbpdjbjbddqjfhtkepecfkpjlaqishrdhopkjoehfkttsfchhbieslklemqrlrbqddqhkstsfinopileqamsehiqfb...
output:
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqpponmlkjiiihgfedccba
result:
ok single line: 'tttttttttttttttttttttttttttttt...tttttttsrrqpponmlkjiiihgfedccba'
Test #71:
score: 0
Accepted
time: 0ms
memory: 12732kb
input:
1000 brskjlirkejbmqcgbojpahdhacksbiilcmkefghjrshfonrtimlijdnkjhkordkdfmjapoadsgmsskngghieapbmtoojogcptthmjkkredtlhlndsphbmbckrcbtcekkidtrtqckqhqefsifctmpmjmhkfdlmkkrkhqncngoklhmkolgretaqmrednimcncggbmqbiqrgfhmlataqethsdafmbtjqagqabmbssjcopihntlldbfajehplfdrsffcidptnljcoeqifaagldanhlidfplfifcndrktdjh...
output:
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttsrrqqqponnmlkkjiihgfeddcba
result:
ok single line: 'tttttttttttttttttttttttttttttt...tttttsrrqqqponnmlkkjiihgfeddcba'
Test #72:
score: 0
Accepted
time: 9ms
memory: 13580kb
input:
1000 jjjjrrrrhhhhkkkkllllffffmmmmppppnnnnooooggggddddaaaassssqqqqcccciiiibbbbeeeettttffffllllppppqqqqmmmmssssbbbbnnnnggggiiiiooooccccjjjjaaaarrrrhhhhkkkkddddeeeeiiiimmmmbbbbqqqqkkkkffffllllrrrrnnnnppppjjjjgggghhhhaaaassssccccooooddddnnnnbbbbiiiiaaaajjjjkkkkppppggggffffcccchhhhssssqqqqmmmmrrrrllllooo...
output:
ttttssssrrrrrrrrqqqqppppppppoooonnnnnnnnmmmmllllllllkkkkjjjjjjjjiiiihhhhhhhhggggffffffffeeeeddddddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssrrrrrrrrqqqqppppppppoo...bbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa'
Test #73:
score: 0
Accepted
time: 12ms
memory: 12552kb
input:
1000 kkkkllllggggrrrrbbbbaaaaooooddddqqqqeeeennnniiiiccccssssmmmmjjjjpppphhhhffffttttnnnnddddeeeejjjjmmmmsssskkkkbbbbiiiirrrrqqqqppppllllhhhhccccooooaaaaggggffffeeeeaaaaqqqqkkkkccccrrrrbbbbddddlllliiiinnnnmmmmhhhhjjjjssssppppooooggggccccaaaallllrrrrmmmmqqqqhhhheeeessssiiiikkkkddddjjjjnnnnbbbbppppooo...
output:
ttttssssrrrrrrrrqqqqppppppppoooonnnnnnnnmmmmllllllllkkkkkjjjjiiiihhhhhhhhggggffffffffeeeeeeeeddddddddddddddddddddccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssrrrrrrrrqqqqppppppppoo...ccccccccccbaaaaaaaaaaaaaaaaaaaa'
Test #74:
score: 0
Accepted
time: 8ms
memory: 13960kb
input:
1000 nnnneeeeggggffffbbbbllllrrrrmmmmhhhhppppqqqqiiiikkkkssssddddjjjjooooaaaacccctttthhhhffffkkkkaaiarrrroooonnnnppppssssbbbbjjjjiiiiqqqqmmmmggggeeeeddddllllccccmmmmggggnnnnaaaaiiiikkkkeeeeddddffffbbbbrrrroooossssjjjjhhhhqqqqppppllllrrrroooobbbbssssmmmmqqqqkkkknnrneeeeiiiijjjjaaaaffffddddhhhhggggppp...
output:
ttttsssssrrrrqqqqpppppppppoooonnnnmmmmmmmmmmmmmllllkkkkjjjjjjjjiiiihhhhhhhhggggggggffffffffeeeeddddddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba
result:
ok single line: 'ttttsssssrrrrqqqqpppppppppoooo...bbbbbbbbbbbbbbbbbbbbbbbbbbbbbba'
Test #75:
score: 0
Accepted
time: 2ms
memory: 12580kb
input:
1000 qqqqddjdhhhhggggiiiibbbbeeeekkkkoooossssllllrrrrffffjjjjmmmmnnnnaaaappppccccttttfgggddddrrrrjjjjkkkkaaaammmmppppqqqqbbbbllllffffsssshhhheeeennnnooooiiiiccccaaaahhhhssssjjjjffffnnnneeeemmmmllllkkkkddddggggbbbbqqqqrrrrppppooooiiiilllljjjjkkkkaaaasssshhhhbbbbnnnnppppeeeeddddqqqqmmmmffgfggggrrrrooo...
output:
tttttssssrrrrrqqqqppppooooooooonnnnmmmmllllllllkkkkjjjjjjjjiiiihhhhhhhhhhhhhhhhgggggffffeeeeddddddddccccccccccccccccccccccccccccccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'tttttssssrrrrrqqqqppppoooooooo...ccccccccccbaaaaaaaaaaaaaaaaaaaa'
Test #76:
score: 0
Accepted
time: 5ms
memory: 13772kb
input:
1000 qqqqppppjjjfmmmmffffllllggggiiiioooocccckkkknnnnhhhhrrrrsssseeeeddddbbbbaaaattttmmmmqqqqrrrrddddssssooooggggeeeehhhhnnnniiiiccccfffflllljjjjnkkkppppbbbbaaaaffffnnkneeeejsjjqqqqgggghhhhssssppppllllsmmmddddcccciiiioooorrrrkkkkbbbbpppprrrroooojjjjhhhhggggeeeennnnmmmmqqqqddddssssffffiiiiccccllllkkk...
output:
tttttssssrrrrrqqqqppppppoooonnnnmmmmmmmmllllllllkkkkjjjjjjjjiiiiihhhhggggggggffffeeeeeeeeddddcccccccccccccccccccccccccccbbaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'tttttssssrrrrrqqqqppppppoooonn...ccccccccccbbaaaaaaaaaaaaaaaaaaa'
Test #77:
score: 0
Accepted
time: 0ms
memory: 13264kb
input:
1000 aaaassssooooeeeeiiiiffffnnnnhhhhppppqqqqddddmfmmggggkkkkdbbbccccjjjjllllrrlrtttkssssihiimmmmoooollllaaaabbbbppppddddffffqqqqcccckkkkannneeeehhhhjjjjggggrrrrdbddbbbbllrloooohhhhnnnneeeeiiiiqqqqaaaaccccppppsssskkkkjjjjffffmmmmggggffffjjjjebeebhhhqqqqssssnnnnikiiaaaabbbbcccdkkfkllllddddppppoosommm...
output:
ttttttttttttssssrrqppppooooooooooooonnnnmmmmmmmmllllkjjjjjjjjjjjjjjjjjjjiiiihhhhgffffedcba
result:
ok single line: 'ttttttttttttssssrrqppppooooooo...jjjjjjjjjjjjjiiiihhhhgffffedcba'
Test #78:
score: 0
Accepted
time: 4ms
memory: 13780kb
input:
1000 jjjjqqqqhhhallllkekkfflfmmmmbbgbccacaaaaddddnnnlppppeleeggggoooorrrriiiisshittttffffjjjjeeeenhnnkkkkiiiipbppccccaaaallllbmbbqqqqggghrjrrmmmehhhhddddgooossssaaahkkkknnnnppppjjqjhhhhddddflffqqqqgpggbbbbllllcccceeeeiiiimmmmrrrroooomjmbjqqqggggnnnnkkkqllllhhhhisiigaaaccccjeeebbebjjjjffdfppppdddfgjr...
output:
tttttttsssssrrrrqqqqqqqqqqqqqqqqqqqqqqqqqqqpppppppponnnnnnnnnmmmmlllllllllkkkkjjjjihhhhhhhgffffeeeedcbaa
result:
ok single line: 'tttttttsssssrrrrqqqqqqqqqqqqqq...lkkkkjjjjihhhhhhhgffffeeeedcbaa'
Test #79:
score: 0
Accepted
time: 0ms
memory: 13464kb
input:
1000 rmpmgppmiiiiifffpcccjjjjmeteggggrrrroooonngnqrqqllllsssmgaaabbmbddddhhhhkkkketotddddnnnniihfoggcqqqqccccfobbeeempppprrrrssssoogolmlljbjqaaacmmmmffffhfhhkkkkqqqjggggllllnnnnfflfmmmmaaaaiiiippppssssccccjjjsrrrpoooofbbbebefddddhhmhbbobjjajlcccjpjgllllmmmsqqqqoomqaagassssnnnngfnrfffffiiieeeerrrrddm...
output:
ttttttttttttsssssrrrrqqqqqqqqqqqqqqqqqqqqqqqqpponnnnnnnnmmmmllllkjjjjjjjjjjjjjjjjjjjjjjjihhhhhhhhgfedcba
result:
ok single line: 'ttttttttttttsssssrrrrqqqqqqqqq...jjjjjjjjjjjjjjjihhhhhhhhgfedcba'
Test #80:
score: 0
Accepted
time: 4ms
memory: 12900kb
input:
1000 fiqliepnardojtocjffnbcrkggjtloaobbrsadcesghtpnelhkljemnimdbsmrtsipkdpmgfqqcqahhkqoaborolfiednkdjispchgnsepkecphbqaoagdnlnpimmmsbsrmqgfrkhkgjjefljfhldbciqcarerennnlmiqsdisgckqkaofljmhmgpdpfncsecrfjaforrdichdhpkiljpgaalgojkqsqomehoralkqlgmipdgisocshpoihjgnmargqnnenpsjdspocrqddkmjerlekhackejlmqchi...
output:
ttttssssssrrrrqqqpoooooooooonmmmmllllllllkkkkjiiiiihhhgggggffffeeeeeeeeeeeeeeeeeeeeeeeeddddccccccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssssrrrrqqqpoooooooooonm...bbbbbbbbbbaaaaaaaaaaaaaaaaaaaaa'
Test #81:
score: 0
Accepted
time: 0ms
memory: 13736kb
input:
1000 ekdhimcjercjsmoblqtknaljkosrjphtgdohafrteiqkmiptofdrsbeacfhmsbcfgqqdlniabgglnpnpqbgqikjjfhrslhrjnqhjepeopbpfdflegieacsbmkkankcocqdlmplrmrcnghsfodmosaidignbadeeelsfrrimmpafckhpndjijegcicbmblsgoosdsbmlnjjgnblahpafnahhkgrkfdorpkocifmfajpssalbpghbolsfarlbhsdhiekpekdmedkfkcoicgrgcdrrjmhjgaceiiomljop...
output:
ttttssssssrrrrrrrqqqpppppppooonnmllllllllllllllkkjjjjjjjjiihgggggfffffeeeeeeeeeeeeddddddddddccbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssssrrrrrrrqqqpppppppooo...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #82:
score: 0
Accepted
time: 0ms
memory: 13228kb
input:
1000 slihrbglnocjedftcjmmcbrldaidlarrhpgeoaiqnpakhgcdnejomspjqtbfqkhtpisfokgtsqnbfmkeedpsnildnihahrlrknbaemnfqldhcffipckbjgbbqejqgrkarmioqscgpmosepfrcjladsgokhmjaajnsrksejlpbdoeqgfgobcramcnhkpnqkjdqdcseogfjfhbqbhcmropaphldfnsllegkmomrghcfhdcpcjngqlmsoboopdhqlplnfhbmrfnqagjqdbkanjmrbpscrfsgmoklsjdaka...
output:
ttttsssssrrrqqqppoonmmmmmmmlllkjjjjjjihhhhhhhhhhhhhhhhhhhhhhhhhgggggggggfffffeeedddcbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttsssssrrrqqqppoonmmmmmmmlll...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #83:
score: 0
Accepted
time: 0ms
memory: 13320kb
input:
1000 mfdomjeggdhjeiaoldaoikcpoqhcnmhilpmrsbekrkfbqsqdgtliernqfjgjscnfhbkacnpstlbttrpadpkbngnacjlfafhssoncejommrapraresipilekhilcdpmqndqbbfelmeobhjkgdfgkcriogjhqspbfkkdemnneflcscjflfpagqmcgaiadibebhkshmipjqspqrdlngqamfsjrlgenrbhrcjdhiimslkqsrhirsnqekmqnjphdaskndjceiabdbfalerabhemprdlcifhmkjjpnbcplnpf...
output:
ttttsssssrrrrqqpppppoooooonmmmmmmmmmmmlkkkkkkkjiiiihhhhhhhggfffffeeeeeeeeeddddccbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttsssssrrrrqqpppppoooooonmmm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #84:
score: 0
Accepted
time: 4ms
memory: 13684kb
input:
1000 fajjsmepacodsdalkpkreroiitlrdeqenjehantldbtgblmpnhmgbckfribfigsoostkclgmjfqhpnqqdrnoiskngclcibpaaqelflcehhrioqdkdoqmfbrkpibsalnqakmcsgrojefbejkdfhmgpgjmnjspgdjioshskgrikdkjrpdpbfqfngcfieqsfcanaqjdljclqihpbrbselocerbnogoankhlpahejhceockfkgbjldkrnairrffpgndqaaqphcphlgrdbdcojjkbehifoeboqniienlqpal...
output:
tttttssssrrqpppppppooonnnnnnnnnmmmllkjjjjjjjjjjjjiiiiiiiiiiiihhhhhhhhhhhhhhhhhhggggfffffffeedccccccccccccba
result:
ok single line: 'tttttssssrrqpppppppooonnnnnnnn...hhhggggfffffffeedccccccccccccba'
Test #85:
score: 0
Accepted
time: 3ms
memory: 12264kb
input:
1000 arlhfbhlopoimpqcqgklpnitbqtendmhchsjtjadgijienrjsrctnkgalfksdmfonbmdhqgaepsrrekafapqeigjmlnkcpkdrmcjkebpiardskijaniqmoeoarsphgjcoknedgfbslqbrsfbkklohfghqndcpcahfamhakanrberdkiqlejqjsmjpbrnnimsmlponsibqopedkijkfdlhcsfaboqflohedccjconnihkrdjmphhsacmqeaooqehfbjdaqfsrfkhckpjsemrrhbiiippqdfskanbcedb...
output:
ttttssssssssssrqqqqqqqqqqqpppoonnnnnnnnnnnmmmllllllllkkkkkkkkkkjjjjihhhhhhhhhhhhhhhhgfffffffffffffffffffffedcba
result:
ok single line: 'ttttssssssssssrqqqqqqqqqqqpppo...hhhhgfffffffffffffffffffffedcba'
Test #86:
score: 0
Accepted
time: 0ms
memory: 12892kb
input:
1000 jerepqofkqslhmidbtrpmlmogjoikdadcandqllpotkqljtehhshjjtbmcacgnqgesbasonbrdfpjframljrjpqispnpskborhrahjaeiogoeldjkfbkaqqnqcfscddlkbiahlsgccbhemirimgreopfnnmgodiihmgfqrkeagmlbejrcimfnnjpfjqkdoandhdjferolgpnhrneklbfqcihipqecjpcegbacnaffmqrragbclpladrjgejdaooiqfmmnckqoeeppaokibeijgnlbrmdfkkgqbcofmp...
output:
tttttsssrrqppppppponnnnnnnnnnnnmmllllllllllllllllllkkjjjjiiiiiiiiiiiiiiiiiiiiiiiiiihgffedcba
result:
ok single line: 'tttttsssrrqppppppponnnnnnnnnnn...iiiiiiiiiiiiiiiiiiiiiihgffedcba'
Test #87:
score: 0
Accepted
time: 3ms
memory: 13472kb
input:
1000 doifaepramcfllfmqnordckaeitdbpcrsmcnjenqimmkqbrpohbtklfesaejkhiqggkrgafahjhtponbinjqhiqpsadjqsrrarfjhpiqbrhikprbhodjccmepgkffllosmpennnfmenbcjokadmgkaosagkgdqmnadpaosqfsjkafhorqfdedfbrgbkjetkfdgspclfkqmmragpphcmeodlbeahjhgonfrfdcbeojpqsajljqarjolomodddrnnkbmbcpssgaeefnellofrganocspdfrgdgkqbnpsm...
output:
tttttttttsrrrrrrrqqpooonnnnnnnmmlkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkjihhhhhhgfeddcbba
result:
ok single line: 'tttttttttsrrrrrrrqqpooonnnnnnn...kkkkkkkkkkkkkkjihhhhhhgfeddcbba'
Test #88:
score: 0
Accepted
time: 102ms
memory: 13692kb
input:
1000 cnabjpsdmegorhkqliftcnabjpsdmegorhkqliftcnabjpsdmegorhkqliftcnabjpsdmegorhkqliftkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefkiqjaocdmlprhngbsefombpncrdjhkqgailseombpncrdjhkqgailseombpncrdjhkqgailseombpncrdjhkqgailsembiaqjkrdlopgnhcsmbiaqjkrdlopgnhcsmbiaqjkrdlopgnhcsmbiaqjkrdlopgnhc...
output:
ttttssssrrrrqqqqppppoooonnnnmmmmllllkkkkjjjjiiiihhhhggggffffeeeeddddddddddddddddddddccccccccccccccccccccbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssrrrrqqqqppppoooonnnnmm...bbbbbbbbbbbaaaaaaaaaaaaaaaaaaaa'
Test #89:
score: 0
Accepted
time: 10ms
memory: 13456kb
input:
1000 akjicspomqldhbrgfentakjicspomqldhbrgfentakjicspomqldhbrgfentakjicspomqldhbrgfentkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnkrjlsioepgafcmbhdqnepsamdlhrbkigofcjqepsamdlhrbkigofcjqepsamdlhrbkigofcjqepsamdlhrbkigofcjqkaimdpbsfrgholecjkaimdpbsfrgholecjkaimdpbsfrgholecjkaimdpbsfrgholec...
output:
ttttssssrrrrqqqqppppoooonnnnnmllllkkkkjjjjjjjjiiiihhhhgfeeeeddddccccbbbbbbbbbbbbbbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssrrrrqqqqppppoooonnnnnm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #90:
score: 0
Accepted
time: 11ms
memory: 12732kb
input:
1000 gblqhspinkcjomedrfatgblqhspinkcjomedrfatgblqhspinkcjomedrfatgblqhspinkcjomedrfatdejglcrqobipsnmfhkadejglcrqobipsnmfhkadejglcrqobipsnmfhkadejglcrbobipsnmfhkaglhjpnmecqbofsdrikglhjpnmecqbofsdrikglhjpnmecqbofsdrikglhjpnmecqbofsdrikcmgpbrfsjqnoelhdicmgpbrfsjqnoelhdicmgpbrfsjqnoelhdicmgpbrfsjqnoelhd...
output:
ttttsssssrqqqqppppoooonnnnmmmmmmmmllllkkkkjjjjiiiihhhhggggffffedddccccccccccccccccccccccccccbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttsssssrqqqqppppoooonnnnmmmm...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #91:
score: 0
Accepted
time: 3ms
memory: 12228kb
input:
1000 kshfdralpcoegimbjnqtkshfdralpcoegimbjnqtkshfdralpcoegimbjnqtkshfdralpcoegimbjnqtsnomhjbdfkicargpelqsnomhjbdfkicargpelqsnomhjbdfkicargpelqsnomhjbdfkicargpelqanogsjrmdibpekhfclanogsjrjdibpekhfclanogsjrmdibpekhfclanogsjrmdibpekhfclganbdmpfjkeisorhcganbdmpfjkeisorhcganbdmpfjkeisorhcganbdmpfjkeisorh...
output:
ttttssssrrrrrqppppooooonmmmmllllkkkkkjiiiiiiiiihggggfffffffffedddddddddddddddddddddddddcbbbbbbbaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
result:
ok single line: 'ttttssssrrrrrqppppooooonmmmmll...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Test #92:
score: 0
Accepted
time: 0ms
memory: 13104kb
input:
1000 mjikdhcbfqrseonpglatmjicdhcbfqrseonpglatmjikdhcbfqrseonpglatmjikdhcbfqrseonpglatqikocrpsmeljenhfdgaqikocrpsmbljenhfdgaqikocrpsmbljenhfdgaqikocrpsmbljenhfdganekmcrhlqopsdfijbgiekmcrhlqopsdfijbgnekmcrhlqopsdfijbgnekmcrhlqopsdfijbgchfniorqldpksjembchfniorqldpksjembchfniorqldpksjembchfniorqldpksjem...
output:
tttttsrrrrrqppppponnnnnnnnnnnnnmllllkkkkjjjjihhggggggggggfeeeeeeedcccccccccccccccccccccbaaaaaaaaaaaa
result:
ok single line: 'tttttsrrrrrqppppponnnnnnnnnnnn...ccccccccccccccccccbaaaaaaaaaaaa'
Test #93:
score: 0
Accepted
time: 5ms
memory: 13920kb
input:
1000 kqlgapfojidnecmbrshtkqlgapfojidnecmbrshtkqlgapnojidnecmbrshtkqlfapiojidnecmbrshtcaoflgrimcbkjnesdphcaoflgrimqbkjnesdphcaoflgrimqbkjnesdphaaoflgrimqbkjsesdphndcfgjilsonrmkabqpedcfbjilsoermeabqpedcfgjilsonrmkabqpejcfgjilsonrmkabqpknogaemcjdfmbsrfqknogaelcjdimbsrfqknogaelcjdimbsrfqknogcelcjdilbsrf...
output:
tttttsrrrrrqqpooooonnmllllllllllllllkjjjjjjjjjjihhhhgffffffeeeeeeeeeeeeeeeedddddddddddddddddddddddddddddddcbbbbbbbbbbbbbbbbbba
result:
ok single line: 'tttttsrrrrrqqpooooonnmllllllll...dddddddddddcbbbbbbbbbbbbbbbbbba'
Test #94:
score: 0
Accepted
time: 4ms
memory: 12764kb
input:
1000 gbhemjclioqfhrkspaktgbnemicljoqfhrkspadtgbnemiclkoqfhrkspadtgbnemicljoqfhrkspadtqfppsgekjomhncgrladqfipjmekjomhncgrladqfipsbekjomhncgrladqfipsbekjomhncgrladsqbpfekhgrlcmobjnasqimqekhgrlcmoijnasqipfckhgrlcmobjnasqipfekhgrlkmobjnasfimckrlpbgjhoqengfimckrlpbgjhoqensfimcdqlpbgjhoqensfimckrlpbbjhoqe...
output:
ttttttsrrrrrrrrrrqppponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmlkkjihhhhhhhhgfffeddddddddddddddddcba
result:
ok single line: 'ttttttsrrrrrrrrrrqppponnnnnnnn...hhhhhhhgfffeddddddddddddddddcba'
Test #95:
score: 0
Accepted
time: 3ms
memory: 12412kb
input:
1000 kencnpiqfamhoccdbggtoersnciqfaghojcfbgltkeisnpiqfhmhojcdbgltkersjpiqfdmhorcdbgltmojbjofdiqragnockelhojbphfdhqrafnsckeomojjphhdiqragnsckeliojbphfoifrjgnsckeikoonjhfcmqridogipeksonjhfcoqhbaagipeksonmhfgmqrbdagipeksonjhrcmqrbbagipeadnmjcfigqrbhosopadnmjcfigqrbhsskpadnmjcfigqrbroskpadnmjckigqrbhock...
output:
tttttttsrrrrrrrrrrrrrrrqqpponnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnmllllllllllllllllllllkjihhgffeedcba
result:
ok single line: 'tttttttsrrrrrrrrrrrrrrrqqpponn...lllllllllllllllllkjihhgffeedcba'
Test #96:
score: -100
Wrong Answer
time: 1940ms
memory: 14160kb
input:
953 kfibakbhjjkhbadebgcaddfhkkbhigcbfbcikcgkedefgdhefaiaeagfeccacejadgjjfjheihgdfjikihigjcdbllllllllgkeaeikkfjabcigfcjgbghdgkjbbjhgafdddhaccdgjkdfafaakgjedeibbhekehhaciiiijfjceebhbdicfkfhcmmmmmmmmficcfckkjfibkeccejdcjkdbahdjkedjgeigjcijedkaffiiihabfbhjfaahabeghgaegbgakbdhkgeidfdbhghcnnnnnnnnkdaddfab...
output:
ttttttttssssssssrrrrrrrrqqqqqqqqppppppppoooooooonnnnnnnnmmmmmmmmllllllllkkkkkkkkjjjjjjjjiiiiiiiihhhhhhhhggggggggffffffffeeeeeeeeddddddddccccccccbbbbbbbbba
result:
wrong answer 1st lines differ - expected: 'ttttttttssssssssrrrrrrrrqqqqqq...ffffeeeeeeeeddddddddcccccccccba', found: 'ttttttttssssssssrrrrrrrrqqqqqq...eeeeeddddddddccccccccbbbbbbbbba'