QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#553333#176. Hidden Anagrams5un_xiaomivita_mboxAC ✓1994ms4272kbC++14981b2024-09-08 11:56:552024-09-08 11:57:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3532kb

input:

xxjtxfjkfrxtkqeetkbkjkqewxftjsljrwsrbrrtftjkwwnetfnxekrqff
cvudyzcyuhpcdhzvdoupyapamyiiiocvvdgazgddgoduiupmcdiyaozydzvdzdgoapuidgdopuouaddiziupia

output:

0

result:

ok single line: '0'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

xjdndenqegqqkwnogomtnknextlowtwojwejqexdoxtdmexqtxdwodlmgddowenj
upvhhvvraizvapcpzuzyafrzcpiubhuzsizuyhsivcypbzivpaubfzfabiuvshicbscyfcuhrphaaacuvfbzcvbbbh

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

jvjfohxjhmujufluhahmuiimfazhxzlizchaamojojcxvhilvuuumjcfvxavahhvfxhj
btpteyswdknebkbbdqkqtsqwpwdbrkgdndtpkbdqepptpqbbgtbrqkeqyqgwgkttd

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3764kb

input:

nvymjjolivgyhnnjamihvvippaoylyaiviiiaiiosopmlpnnjnmlpmpjsysyjmasosoyaioplshosmmvvv
fuztztbbuxqkedzuqkrterfccefkwcfzzzcdedfbzcrkecqtqxqeuuzwkxwqwzukcttcgfedqxededbxre

output:

1

result:

ok single line: '1'

Test #5:

score: 0
Accepted
time: 1ms
memory: 3492kb

input:

nwqnqdvcccnaeepdwcwedyyawwkyeonovqwdyckddpaeckckwwynwnpyycaaocqavkywnatpyeyaeyok
mgmzlgzggmlfxjrmlsrbhsizbgsiuuijjgimblxjgsxstbmirguxrirzuxhbslxzrlslszlssuxhjfjj

output:

1

result:

ok single line: '1'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3620kb

input:

wfoqjzjeoqazoemlqwpmepweofllzalmlooojmacojmfjoozepwwqjemwz
bgrruvunibrtssyiucxknsvsgnkvbnurdnxyuxnvrxvdbrkngrdvnkxrvg

output:

1

result:

ok single line: '1'

Test #7:

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

input:

gnrutbrtqeniipwjipgpltphkftyfxsworebqkqweuyzgktppkdeewihcurwbsfvdh
fpxrjfcdkysghtohiiwsbiubkqneuhptgreieqpttrkrqwtezpwpbwvupenkglywdf

output:

66

result:

ok single line: '66'

Test #8:

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

input:

qipemwdxlcurlrrzxqvsatjoveecsevgpzykljfezmomdteijvvzutarauemxrdoayntvnilnmtobdpybuwwazbdseqqy
lrizsulzpwhzthdrlfdybwknxlivuybtnnmljykozzsbzfytjeuwduozrtxjkrulaaayteexiddpaqrmidmvqclqolbyescvewnmaoqimtsoglevwverptzzdbnjyrmxvnpuvenhzbqxgwqwturchmyodsubmcrdupbqhyaajoixnfterw

output:

93

result:

ok single line: '93'

Test #9:

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

input:

lrizsulzpwhzthdrlfdybwknxlivuybtnnmljykozzsbzfytjeuwduozrtxjkrulaaayteexiddpaqrmidmvqclqolbyescvewnmaoqimtsoglevwverptzzdbnjyrmxvnpuvenhzbqxgwqwturchmyodsubmcrdupbqhyaajoixnfterw
qipemwdxlcurlrrzxqvsatjoveecsevgpzykljfezmomdteijvvzutarauemxrdoayntvnilnmtobdpybuwwazbdseqqy

output:

93

result:

ok single line: '93'

Test #10:

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

input:

yruoqznrfwmwmzgpileisifyxtcxlkeiiilmisoaeeihgczsrtgrnwhseromwgcucezvba
epbaiyxuuwtzvnooiirsgemesqahmscroelyngrkzgizmlicccigwsftzimefxhewilwrr

output:

70

result:

ok single line: '70'

Test #11:

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

input:

gmxrkhdcvxbnogftqgqmqlghlvsyyckbobtfejpbsqcsmcmzqsujmilpbrpanjsxkzetsrictzzylnmqzassdbsqadkk
lyrbulscpucrokqzrafklgesesdmkqnlkitkrahsggtzrmgcncctbgqlmmjqsvzsbbeoicfsnylsjqayxpmskhyxdcpqmqtknlrpdjfosksdsqamtlxbqzeiubbzvkzhpqlkmucgtfgvtjsntplapadvusvtnwskkcungw

output:

92

result:

ok single line: '92'

Test #12:

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

input:

lyrbulscpucrokqzrafklgesesdmkqnlkitkrahsggtzrmgcncctbgqlmmjqsvzsbbeoicfsnylsjqayxpmskhyxdcpqmqtknlrpdjfosksdsqamtlxbqzeiubbzvkzhpqlkmucgtfgvtjsntplapadvusvtnwskkcungw
gmxrkhdcvxbnogftqgqmqlghlvsyyckbobtfejpbsqcsmcmzqsujmilpbrpanjsxkzetsrictzzylnmqzassdbsqadkk

output:

92

result:

ok single line: '92'

Test #13:

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

input:

d
d

output:

1

result:

ok single line: '1'

Test #14:

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

input:

x
b

output:

0

result:

ok single line: '0'

Test #15:

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

input:

v
v

output:

1

result:

ok single line: '1'

Test #16:

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

input:

r
x

output:

0

result:

ok single line: '0'

Test #17:

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

input:

g
wckdvuceywjntkhauwwfyyyqxsuljjmnqozcgnhtbthuhhwmmgtexjxxlawwvjopfvealnrkzqpktdsujzrvinajycupdqhtxuxinlzhbdtqqqfejbcgavbnxwacbabrkkzatargpgijsrqihfgmbhrwobkkndasfqucyfghfjzdbzkxecoehbxjlbscogzhvfdbgbxxdczzxhjwiqnhxbxiygklloyvtmvmcnhpkftudhcyznirjkylnollkmpqalejfjserwxefouueefctihlukfipjcnerlodevkcv...

output:

1

result:

ok single line: '1'

Test #18:

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

input:

ozsljwlxzkladmjibvyqpibpkwnxosrqhfqbmigkgxdtfnnsitxecihwisfonaejqeenboqxpqxbmdwzxjnodurnznaitbjikqaerbgkxdfjxnqyecqpqcnluezomtkvjprcqeaucgttwlpqeyfwenybcluxwzjvixlljnmpolktwnezewpiuwinsptbjqzplpeoeuwpehkycvrsslfznunjihtauplcipxmobnipqekegxmddzkepuqzoqepebgwmkuxipjbncgaskmzjhjnlokvxidvlbjgxsdtxiaikdm...

output:

1

result:

ok single line: '1'

Test #19:

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

input:

f
wjccwgexcoyyilhefsyhnclqrfybyrvbiarxspngszdlwkqqsxtyvyifxsjzjpqkqutndbccjtnumlkscwersxoqnhrzixnkujfbdxdodxpywlidkmdfqxroxzqcpksdkdydrhphpkbfbanvkjrtxhlevyxycugybfyywlnvigfgmyqffhoettytyjskfvkrstjhzgfjbeeanblwoengfrlxfxcwilkbqjvextpubzouyntcaaybaayglgobwbhjgryfgsglrgxeswdkfrzuovparpcaoksllnewddovzk...

output:

1

result:

ok single line: '1'

Test #20:

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

input:

hxbxubqvguigdlpsydragglmdghtfzdohhsalalbfcpzgrjbivoathyfqenlsfyzupoktcydtystmbldgownnvgvbsmehlubxlkjgbkogjapbnblrjnjnqvibmugubxgddxbkxgjxnspbvykudcztsyazwlrlvybenfxdiywneagsnnjyknfyrwiwtdebbocwqrijtwrfphfawjridbsxfqalzurcttsstalqeqaqfnmyoanqccafzkqmjfwhaoaugyhqvesbctjgcjdkpcbtarznafuerrdjmefjxmfejkq...

output:

1

result:

ok single line: '1'

Test #21:

score: 0
Accepted
time: 1977ms
memory: 3904kb

input:

eizryfvqsfvuxhuaxyetixnhualrlekhcfompgnnjnyndlzhrdbpipysnwghfgufpvyxqptfcwmjrdnvoaixtzlhmaexrptbykzxnllzfzclycbbejufwggeyrymmkvqncsumleexudhkuoqmlyxhqeffijhhwpeyfleuswitojebijjzhdxskvxecuyjtzjixpkknoabwxjbmuneqjwdunpvmdpdyzvcsnojwuhrtixaiejyzoeujwuofnjwvwigfvhdmapseumjzhlefrnolerpjintzronketlzaqtjdk...

output:

9

result:

ok single line: '9'

Test #22:

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

input:

nvrccpnrfxsubskjdhuywwakyfnhkzzjecwxxywensyxodzogfrbdbbpruxftedtttqxmqzmubsvtwmbjvvcmatktbuexxtcoxxhklevaqbufkuqjubfasppnandszgxgksvngvfceebzmzvxczprgrzaztoyaikkatuxtthohocygeujxblzwqqgnfdkbyucljrzzxbsseixoibimnkxavhypfbjizhgdbnyoflplskcffnipxzzfnjxhmtigmlvfjcpvmkuggaceijfdiygamspablbewnprgphxiwtrjf...

output:

8

result:

ok single line: '8'

Test #23:

score: 0
Accepted
time: 1ms
memory: 3536kb

input:

lwcnfvkljjomtjoyuayyaaugagaauaayguu
zszszrzsrbrsbbszsrsbrbsbszbzbsbbrsbbrszsxnbmqqdzcqrlslbkogppsfcaghqmldzktgstsqdjujczsbosjmcaybqmyxfqvbvbpktssmizrhnzregyceltaxmkiknzssbsbrbszrrbsbrzbzbbbrbrsrrsbsrsrz

output:

2

result:

ok single line: '2'

Test #24:

score: 0
Accepted
time: 1ms
memory: 3484kb

input:

zszszrzsrbrsbbszsrsbrbsbszbzbsbbrsbbrszsxnbmqqdzcqrlslbkogppsfcaghqmldzktgstsqdjujczsbosjmcaybqmyxfqvbvbpktssmizrhnzregyceltaxmkiknzssbsbrbszrrbsbrzbzbbbrbrsrrsbsrsrz
lwcnfvkljjomtjoyuayyaaugagaauaayguu

output:

2

result:

ok single line: '2'

Test #25:

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

input:

rtfefvtafjpiitaebidmqpjrmlevwvpjtpbtrbprdlvpfwgqbppefwgpwlvvadopdrqbeqwwboojfwdrlrbwuuizckczzkkcccckyykzcykkzkkkkyckcyyczkkzzkkcyy
nnxxnxhnsnxnnsnnsnhsxaaanyculvyyaujawooklfagmgajyuuutgjahhxnsnsxssxnnxsshhhnxnss

output:

2

result:

ok single line: '2'

Test #26:

score: 0
Accepted
time: 1ms
memory: 3820kb

input:

nnxxnxhnsnxnnsnnsnhsxaaanyculvyyaujawooklfagmgajyuuutgjahhxnsnsxssxnnxsshhhnxnss
rtfefvtafjpiitaebidmqpjrmlevwvpjtpbtrbprdlvpfwgqbppefwgpwlvvadopdrqbeqwwboojfwdrlrbwuuizckczzkkcccckyykzcykkzkkkkyckcyyczkkzzkkcyy

output:

2

result:

ok single line: '2'

Test #27:

score: 0
Accepted
time: 3ms
memory: 3552kb

input:

vlzvsaveyhxccwnwwgetvwzcvchsafactehffiibcgzaneeibijvhjxcxigcnhzwwnchcvzlstchwzcniewhgbetfzztztvjtyqddqqqooqqqqooqdodqddqdududodouudqdduuuoodooqdouduoqduudoquoquoqouooqdoddodqdo
kkrrkpmmkrpppprrkmpkkmkrpkrpkpkmmpjrpcpbzlvboweaylkirbvcpwuwkkdkptjecytgzwzcwatfvzkrilrkquzgcecqybcdqkvdokycvoeqkwfeyzkyckp...

output:

3

result:

ok single line: '3'

Test #28:

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

input:

kkrrkpmmkrpppprrkmpkkmkrpkrpkpkmmpjrpcpbzlvboweaylkirbvcpwuwkkdkptjecytgzwzcwatfvzkrilrkquzgcecqybcdqkvdokycvoeqkwfeyzkyckpcrrpzkzacdfbjkjlkfritfpipkbtwyyvfdbwprmrmrpkrrrkr
vlzvsaveyhxccwnwwgetvwzcvchsafactehffiibcgzaneeibijvhjxcxigcnhzwwnchcvzlstchwzcniewhgbetfzztztvjtyqddqqqooqqqqooqdodqddqdududod...

output:

3

result:

ok single line: '3'

Test #29:

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

input:

bggqggqqjqggbjbjbggjqjggggggjqjbqqqbjqqbgqgqjbjggggbgjjbjgbbjjggjqjjgbqgqbgggbbbbjjjimzuiueeepcvccesihlseomliavcupvnsnxuzziuxeufhxolpcp
ttwwyyktykywkyytwwwyywyywktwykktwyktywttfccsqyudxodidquhtqhqqqdjbeohgzhfuwcdwcevovigwdqdesewwqwaoadboztdvduhudzbqqdzcjhoczqdqzddvwdouzqleyfglqovzecxccoqoooooquothfc...

output:

4

result:

ok single line: '4'

Test #30:

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

input:

ttwwyyktykywkyytwwwyywyywktwykktwyktywttfccsqyudxodidquhtqhqqqdjbeohgzhfuwcdwcevovigwdqdesewwqwaoadboztdvduhudzbqqdzcjhoczqdqzddvwdouzqleyfglqovzecxccoqoooooquothfcuwdodtincoaoooeunuohuttuciddztqjdiqnuuosnvnvagdqxvidtytkktkwtykyykwytwyyywkywwt
bggqggqqjqggbjbjbggjqjggggggjqjbqqqbjqqbgqgqjbjggggbgjjb...

output:

4

result:

ok single line: '4'

Test #31:

score: 0
Accepted
time: 1ms
memory: 3540kb

input:

ggewwjjggeegjeeegewjwwjwgjjjjejeegwgjgwjwjgwggjwjeegwgeeewwwjegegwjgeewgjqsqyhzbksxsllbkqzvxnyxsltknatbszlhydzst
prrrppcjggggggjvcbgcjbcqqbbjslgcggbqqjogzujpieqgejlgjqxbejgjbqggjeigsugbbvqspxbxgpbbjzghjqjqggglbnjqbmamjqbubbifveziiujgcquqhongugqjeggpjjqbjgccprppccmmprrmrcrrrpprmmmrp

output:

4

result:

ok single line: '4'

Test #32:

score: 0
Accepted
time: 1ms
memory: 3836kb

input:

prrrppcjggggggjvcbgcjbcqqbbjslgcggbqqjogzujpieqgejlgjqxbejgjbqggjeigsugbbvqspxbxgpbbjzghjqjqggglbnjqbmamjqbubbifveziiujgcquqhongugqjeggpjjqbjgccprppccmmprrmrcrrrpprmmmrp
ggewwjjggeegjeeegewjwwjwgjjjjejeegwgjgwjwjgwggjwjeegwgeeewwwjegegwjgeewgjqsqyhzbksxsllbkqzvxnyxsltknatbszlhydzst

output:

4

result:

ok single line: '4'

Test #33:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

sdeededseedusssuueessduedesuddeddduusdsdduueuedesdeduueddduddsuuddsddsuuddsdxnqfggjzlnnqtzjcvqotjlbhtfpgjgjlotibcrhrzn
wkaawmkaaawkagsjbwwjszbeeygegjgggzwbwggjneekwjjtgeqjeagkjlhwwwwjewwylsexlwjxggzhjzqeegjswesengkwjgevwjgxswjetjegyqedtggljjewemawkkww

output:

5

result:

ok single line: '5'

Test #34:

score: 0
Accepted
time: 1ms
memory: 3588kb

input:

wkaawmkaaawkagsjbwwjszbeeygegjgggzwbwggjneekwjjtgeqjeagkjlhwwwwjewwylsexlwjxggzhjzqeegjswesengkwjgevwjgxswjetjegyqedtggljjewemawkkww
sdeededseedusssuueessduedesuddeddduusdsdduueuedesdeduueddduddsuuddsddsuuddsdxnqfggjzlnnqtzjcvqotjlbhtfpgjgjlotibcrhrzn

output:

5

result:

ok single line: '5'

Test #35:

score: 0
Accepted
time: 3ms
memory: 3612kb

input:

yytyyyyyuyttutuuttutttrruuurrurryrytyyuutyuyutuutfsnvpahsnnnqbhsbmjvinbiqxwfbnjafmgicgaeihmqvacgosgijpgmyyrrtyurtrtyrytyyuuurtyttyyttrruyttyuryrutruutrr
llkdkzkdzzkdzkkkzkkdzllllldkkzzldzklllkkddllkzdkkdlkkkdzkzkdlklzddllzkdkzldzllddklldklkzkkdlzkkllzdzkdzkdddddkzdzdkkzkzlldklddkzzlzkdzlkkdlzkddzdlz...

output:

3

result:

ok single line: '3'

Test #36:

score: 0
Accepted
time: 3ms
memory: 3840kb

input:

llkdkzkdzzkdzkkkzkkdzllllldkkzzldzklllkkddllkzdkkdlkkkdzkzkdlklzddllzkdkzldzllddklldklkzkkdlzkkllzdzkdzkdddddkzdzdkkzkzlldklddkzzlzkdzlkkdlzkddzdlzkkdklzkzzkzkkkdkkldkzkzdkkdzdkkkdehdtsgsolpisqzzuejuseddbjzngdfsddsensexdsddusrdecueddnuftejusdtduggeuledddsudqdjldedunuretuesedducduhjoqdeduudssvdsbukkz...

output:

3

result:

ok single line: '3'

Test #37:

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

input:

ghhgpgpggpsvnffdnrmvbrtnsfanzdrjaadorjmstzjmzevarejtrudectdjoeonmjofrracnueikcfemtcuifmnixxxxhx
ywlllwqyqwwywlyqqwqllwlwyywyqylqqqqlqwwwwwyqyqlwyywywyyywqqyywqlyywwwqlywwylylqlyqwqywywywllqwlyywqwyyrytvucnynfrtqhrttryjubyymtyfuttoutrtuegswrrrrirauuqrssxqhgmuttiuygsunyjnprtybubjttyiutyrrytuyuutuatvhy...

output:

3

result:

ok single line: '3'

Test #38:

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

input:

ywlllwqyqwwywlyqqwqllwlwyywyqylqqqqlqwwwwwyqyqlwyywywyyywqqyywqlyywwwqlywwylylqlyqwqywywywllqwlyywqwyyrytvucnynfrtqhrttryjubyymtyfuttoutrtuegswrrrrirauuqrssxqhgmuttiuygsunyjnprtybubjttyiutyrrytuyuutuatvhyturacgyitfyttnuturuayryyrivyumuptymrtryuunybtgyylwlyyyqqqqlwywllylqllyylllwqyllllwyyqlwwywyqlqy
...

output:

3

result:

ok single line: '3'

Test #39:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

vbveborjfrgzfglecceceevcbvebecce
ttuuttuxtusxsuxtttxsxxusxuttsxusuutuxtsstsutuusssxsutsussstusuttxtxtutttuxusxrindejfcruemebmdnheftvorpnmoxrmkfauougjhgxxiidomtzzarsxrtgjjcfjafmnvenheajpftsrsgpdcnazgtvcnxdrtsxxtxuttttxtxtusssstsuutxtxxuusstutus

output:

2

result:

ok single line: '2'

Test #40:

score: 0
Accepted
time: 1ms
memory: 3532kb

input:

ttuuttuxtusxsuxtttxsxxusxuttsxusuutuxtsstsutuusssxsutsussstusuttxtxtutttuxusxrindejfcruemebmdnheftvorpnmoxrmkfauougjhgxxiidomtzzarsxrtgjjcfjafmnvenheajpftsrsgpdcnazgtvcnxdrtsxxtxuttttxtxtusssstsuutxtxxuusstutus
vbveborjfrgzfglecceceevcbvebecce

output:

2

result:

ok single line: '2'

Test #41:

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

input:

lbifgiulakleaedphrvnuzcrafhjynrhoslryhkpaotogeoemkiwhiotmbizbylymmxkdyryjisphoplmhscaraszvstywgfoewwpsunvjfmwuysitadsnnpwmvmdioaksimgimrmorwyrairrvbjwdbpwcfvzqgklzjzhiqfmjrtdpyfjrcgiurikennqboydybobhqiedwbdpqfzhrjyyhtylkkeazmyptqeymxgtsydqpoxhasztnlehbifaurewmbdjsvmovhjkltuwrtnpvhhynhcnbdghtrbrnxjkx...

output:

9

result:

ok single line: '9'

Test #42:

score: 0
Accepted
time: 1912ms
memory: 4124kb

input:

emozuxuquaglnfjrafjotgzemoycihpjaeooeuqopusvknuftwjudwxwzlzpvheqbcfqaunfrbkcxsnruiuteqarqbttlntqrnxhrofszconillsijaluerlagnpujlzhvqunytehbvwrihzurpfixvgbbnyhotcqibjfzbidujsdvboyoyoselgeapuxdwmxmvlqqliuymgdaezhtmmtcubpdzejprjxfntejvhddvipgjynrzsztryimvmlrdrpsgawgwrvidupazauomaojqsownimsqndkgglzoabkcn...

output:

8

result:

ok single line: '8'

Test #43:

score: 0
Accepted
time: 1877ms
memory: 4112kb

input:

uizwmpcbokltscsmbotcajhdvcorgghijmmxrelhsjhsplqyythrfnqmptcyrviqqfigdzxveyeawhacqupvudtbfakkqrxtbygjmtmyyoaieehxbordeaaoezdluyxcgscipvypgyhoycdljtxotoredmgxhfxwhnsapoagwnopncjoqnxanpyvvcddywkpscohrzpcekbganhvswmfdgwejraqgjzqwofqipzaawmbkhbwawfmsovmnoopargndqmaegubeobvfebxvvwtnqbhragjoootcnhotzraqxgr...

output:

8

result:

ok single line: '8'

Test #44:

score: 0
Accepted
time: 1868ms
memory: 4200kb

input:

yxvdqzvhhbjcakpucujpbjufwtpffxnkdzfpukdfmbzouzyodiuqimiomiesvvvhvftegyrfwottkejehjmtwuphgcwgnotwxloybhspqsxoexufnhddyzelfuogsxzeyxejokhuwqwzvjmdzgchqyuovjfibtponwdgesprsgttlemfwjrjzeqkiozgkzszcxqnbtkvavkekicgcderwhkqecxjfgfggrivmgujgjsgefguanwhsnozgdfwwrxptjewzwlweiuzvjixewkwzbgyojmkonvnszctzgknocib...

output:

8

result:

ok single line: '8'

Test #45:

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

input:

jdvbrztzukojnzevatozgtiapossqrhpexvapsxxdcuhaorcgudfubbiskmrvrlohmfhhcjjoixenilbnqlwcjxlnwtnmqwpzsxfctssmtcjhhtfzorpxxnsgbttkfhzwajnxmdfrvloifxpyukkiwmeycoggncgyxqptzvqxyccuhaidjipvbjlqgblbuvrrxrrdjligxrmbzcfdeulvekazsenqnjwqyklaoeustbcjbuuudjfixutqiloznfqubbrulaoayvimkqurbvmlefvkbvgxgihumgzoianxotp...

output:

7

result:

ok single line: '7'

Test #46:

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

input:

hsgsrprpadcncxngmbjosfbzsauckrzzcukmebybsfnvnekqunfufhbqztohoiztlfewprscbpcyalcerkfnscopfdimznidsgukqikvsdmmqnmsxebrrrsoysmoqhperrkqlekvjaigoalszzpmtsvemnbqqvodgfxohgemfktyoxjninvljjunhmrqetzxzjwypsgrlvayzeidwjzegnhzfptidrbtntlkfuikwqtllfuxjrhiosozekqggcbqhgfyjpvwapgifvvcsobslnarxkgeooxmnxltzzhfvfli...

output:

8

result:

ok single line: '8'

Test #47:

score: 0
Accepted
time: 1854ms
memory: 4188kb

input:

ysvqhhpbppyzatkiqvghnehdmwzkwdyhlfsqonqnhlaweulbpshhyubkptxgaoqqbdrfkmjvgrjzpzghopwiffdhvepccryynympwiuiowfmwksxghyexozipushmdokhkvdbcmlaovouflvkydofovyargqrzklcjofamdiykfdtoxufiqtoyamruthruimlqoijgpbxaqxiaprbdhxoxryihhakzxrfoxfewttutxlpxuhiirywtppfdbetrpfukooillmqfpmetquwbjcmfeeiywlxybevluwrvisgxfn...

output:

8

result:

ok single line: '8'

Test #48:

score: 0
Accepted
time: 1884ms
memory: 4060kb

input:

nvioxdptlkfufyxbvmlzagapmsmvvtlwmraetalydzsbqltfqdvhujpzymohrqfqhhezfulrdkhnivvgafbfjmonwkdfwyumbdwiqhtiygrzjstkbwklzuvztwgptqexhswchdguetdosbnqdtodxdfaddhwkdaaspgboppnusjpnmmulugtaiderrdhqsmqxrgrdbtxocqfddkxuepuhohcokniragqgdxfozrbfdybjztpomavlhpefeboxggcrfrnhpdgcffrfgoeiyakayrkybpvclgyebeuyxzdzenk...

output:

8

result:

ok single line: '8'

Test #49:

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

input:

lhdneewmqfvflhqaxxtyenqshbqdcxgvxscclxupdrvttmymjlvhhnnphkrnfilscyefkhridbiosgddyslgclhpvpdsrannimrdjyxjzeuirjynoxwrytbyghkkzugiupyfmsyzkgfgbqkmczxufcasoggxqwgcikxggmnrbiyhaqoxchpwdtieubhyzesomevivxfajobemfsmtewfgdpgssrnfnamlvkgobqajagvpgpgrszqbckqgnuzbyanvqmhpwgpbzziiumalhgpikujrixvtlgbnwkyxczeuhra...

output:

8

result:

ok single line: '8'

Test #50:

score: 0
Accepted
time: 1880ms
memory: 4056kb

input:

wasuaurdndbrxwvfafqtulpvadygfeoaddpojvsbdqglxpjpwrgfdmgllkgjkihjmpnwywhyspzxghciuyspsvdlkqpivruuqltyhgdtdhqgdgmbdwwbcjlubpbmdoeuxzkevunzknoireceyavartlwvjegjmsuurpziibkrnekwgzylersqnuokmbtxfxwrqbcfhelmymayeclzuajhvrpidjzyjzubfpkcplkdyfhaewxheuvhoyrfblaslungaairmnhizazamskskcdnaplotculyxwppijlvdfzntz...

output:

11

result:

ok single line: '11'

Test #51:

score: 0
Accepted
time: 332ms
memory: 3548kb

input:

azazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaz...

output:

1

result:

ok single line: '1'

Test #52:

score: 0
Accepted
time: 247ms
memory: 3616kb

input:

zazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaza...

output:

1

result:

ok single line: '1'

Test #53:

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

input:

soayerkzsygshliwdsitoditgdktnlwowfnzjtnwnnfraewzjpwyylkailedzjoyrqfwjltoirazayylzrmjfcrosawnkyrzbzzryrrxzdvainlzraorkeawarqkavrzrokhjsmqsjwnixpaltinjqzfyjdygaiyvswlrtqorzrrtzywjhiwhrxsryiwgqutfdehzqgglgnaogxiymlrruwwjsiiidpseqdapkokfwzndrhwcotftiyzzrngylovgwetwkzyqdhayynceykorzgngosxlqgrnazprtxggzns...

output:

5

result:

ok single line: '5'

Test #54:

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

input:

ehlkymtytklhthcmbjklrhrpuxhrdqwgphbzxqycmhqdjctxwozsedrgluohdsrhmttelstbnrmtnzrjlivdmyiwrorimjjrtsjmioizhzehrkrmostohprzxpzmchpcptdjmjspnimjjihrzipsrsyzrtrmcjohrhhocgtzxwyaehzzjmkhrhfxetdcsxidythhhzhtzzgredzskcezkiynhmjpnhzmyrnztcgspxujmmdgjmymcslsqawthiwyvyhskurbzdqhrjtylmzkcbyqhbhjpsijhhnbmtukcmoj...

output:

6

result:

ok single line: '6'

Test #55:

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

input:

erkgxnedjfquveezsxujnsqdpovoezqkxhcvsgomfpoxfsoextzkjrueevtnhhhuszthtsnfoqdmzujfizsxgitschvjrucnsesoeuhtzhxakjcxysuxslfffsxsesjztttapzhrhsuiievhthfznrsffsuhzlzhklznvioutdqzhusmosqhislfkfzipzmmmrrxotuzvsiosmsnloftxfjocnzhzcusoioinssnazfqeutlussegonffulrrqedosvcfhjsnchfogfizcuzgfspyxxerolxxbsuqyvuofus...

output:

5

result:

ok single line: '5'

Test #56:

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

input:

wwhhdhhjjhkjmevgmwxhkvoyyiwjbykbpdkuwkvywkdenmifiegiipukvuykiwxvfeikjkjudjbwhnilkyjhbpddrmwhjuvrwnohzrugnfrekvjuidwekowijuuewummfivvklremjrvywddedwwzjdewxzhekivighierpyrkkhuibrrxhebeyiyjihivhyiuhiwykeivhdesrjukvhdjwdkihyvseujjfvwiwwkeejwydjemmwkbiirweqehwdjjwtdhhiihuwuviybhqkuqgxiehkkwveehkeqhilebur...

output:

7

result:

ok single line: '7'

Test #57:

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

input:

ribfrljkptbqlcmxkoejirftfatzewztqpqstbzmfmmixqalzfxgifmjtckgcsxkokiefyizsjtgqgymlimcimsmtkjfsytjgckqlycdtzyxjqxxxmsfiefifzmikztlqsetltryiimlqtgtfcecxckjiraikxfezfqyzlkgkleeoecgxmkxmyeythicslkeosqmgczszhtqlatxdxyckseeolicibkqylccsmmmizcojklksgkmcslbekclmfzskzkjmszyzqcssdxhbrfkxtyqqeifxbfmllboisfafxsj...

output:

5

result:

ok single line: '5'

Test #58:

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

input:

guhztnqqeejkyjioabsmxpkcgfoqjeharcexqhbaheyezjauqquqqabguhpvcghpcunpvixdupzyxcicnrqxnhcgtiuqhhevkgcojqjetcpxlbqqbtqpxeugxvqryegyffrrtxicnaptcxqntaukhkmobuinhaykozvgakqacktkprlrcuvyhghkheyhlpgxdltrplpvthlpiahruphaxhtgavhnbuhxgvuxuumyefgpihlgiibhauohhmlbvlamhjkealpcvqccrbzbtezmpiyzprrotp
aqnqajnhjgima...

output:

6

result:

ok single line: '6'

Test #59:

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

input:

dcznljponzzzvewnavzbxnjcbtaqqrzqppxmmbrvznjxeebnbhmveanpwxchjdzwjpiqqxynhbciowiraymgxexazbyxadciljcahxiatqfqcalhzzrwbvamnyhnzaejvlndgzxqjwcbzbzzhnxxpnpidleiiqijjczexbzagmxszjvaxxfcvxtqjaevzecexqiagtwxjmcrypaagmitmaevxibxjfxuevrnbjwjwewliuqjjterafzljfyrvoljtcpazyzfhvgbnmteppintiadzrljbrthhynzrhrycmjr...

output:

7

result:

ok single line: '7'

Test #60:

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

input:

cdjjhhonkmyyaslvpvgligaluppysxjskpirvlaynlyknvnpkmxpkacanyuevrhooqgmaxrvvnkofhvjrgmszrmdloexpufpqjkmarpgluxponvkoysagjxravnyljaqndujvmldmndrxxvhfajrmpauplpoznykpmnxkokjczdgaryrsgdjnxjrjqcxvvrcjxoplxjmrqljnbuyqgunqmjmsrdvrnoqnynvuydlvsmoamgngvdvvxkrlmkvvlivqngaivrjukzgklvoqqmbjlkvjpgdgmzogmkyzrzzapq
...

output:

5

result:

ok single line: '5'

Test #61:

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

input:

wjrrecpblxsdxlorigelfclvxixwvgcgvxbseoggghcbbugyhrgzhxsihfgmkxyycmdfkrrfezfpzrsgzysycbmsuleelbhgsglxekpifzokvwoxrlhuqrldjevvlbpgdekyvfrurcnxchuzyppkcnhreqvwsoebeetvvbjysvzlucboupjlfbruwwzhvdewgjkfovlxfkyzzocrazwdxxfdgmyhcfiotcikelbwoftrxokciguvgxcxrjboxdfwgzuumrvrdmsjrl
myuivrvycjblcllxycqxmsyjeglkb...

output:

5

result:

ok single line: '5'

Test #62:

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

input:

gzvhpzstzpqvgztkjbspbbksbsuueghhzbosvgggqpzunibjrngrkinnbxhhzhnkbvznkwpszqpbsqesmstgjvubkywtqkibgzvhbhdpmszsrzxmezskpgurrgtjqvrurbqrkwysogpsimuhkimnqtibkqginhsgjkbsqgkihrhupgkkpobsibvhgmzsvgoiqurkvzpkziv
skxiqpimisbvgpwdvwgoxgathimqkzbiydscdkrikjvvnqriboouuzuuktdvigivzruuzhjpnkzssijqriuttipdqkqkgogi...

output:

4

result:

ok single line: '4'