QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#504011#176. Hidden Anagramsxiaowuc1AC ✓1501ms4228kbC++112.5kb2024-08-04 03:59:462024-08-04 03:59:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

xxjtxfjkfrxtkqeetkbkjkqewxftjsljrwsrbrrtftjkwwnetfnxekrqff
cvudyzcyuhpcdhzvdoupyapamyiiiocvvdgazgddgoduiupmcdiyaozydzvdzdgoapuidgdopuouaddiziupia

output:

0

result:

ok single line: '0'

Test #2:

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

input:

xjdndenqegqqkwnogomtnknextlowtwojwejqexdoxtdmexqtxdwodlmgddowenj
upvhhvvraizvapcpzuzyafrzcpiubhuzsizuyhsivcypbzivpaubfzfabiuvshicbscyfcuhrphaaacuvfbzcvbbbh

output:

0

result:

ok single line: '0'

Test #3:

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

input:

jvjfohxjhmujufluhahmuiimfazhxzlizchaamojojcxvhilvuuumjcfvxavahhvfxhj
btpteyswdknebkbbdqkqtsqwpwdbrkgdndtpkbdqepptpqbbgtbrqkeqyqgwgkttd

output:

0

result:

ok single line: '0'

Test #4:

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

input:

nvymjjolivgyhnnjamihvvippaoylyaiviiiaiiosopmlpnnjnmlpmpjsysyjmasosoyaioplshosmmvvv
fuztztbbuxqkedzuqkrterfccefkwcfzzzcdedfbzcrkecqtqxqeuuzwkxwqwzukcttcgfedqxededbxre

output:

1

result:

ok single line: '1'

Test #5:

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

input:

nwqnqdvcccnaeepdwcwedyyawwkyeonovqwdyckddpaeckckwwynwnpyycaaocqavkywnatpyeyaeyok
mgmzlgzggmlfxjrmlsrbhsizbgsiuuijjgimblxjgsxstbmirguxrirzuxhbslxzrlslszlssuxhjfjj

output:

1

result:

ok single line: '1'

Test #6:

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

input:

wfoqjzjeoqazoemlqwpmepweofllzalmlooojmacojmfjoozepwwqjemwz
bgrruvunibrtssyiucxknsvsgnkvbnurdnxyuxnvrxvdbrkngrdvnkxrvg

output:

1

result:

ok single line: '1'

Test #7:

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

input:

gnrutbrtqeniipwjipgpltphkftyfxsworebqkqweuyzgktppkdeewihcurwbsfvdh
fpxrjfcdkysghtohiiwsbiubkqneuhptgreieqpttrkrqwtezpwpbwvupenkglywdf

output:

66

result:

ok single line: '66'

Test #8:

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

input:

qipemwdxlcurlrrzxqvsatjoveecsevgpzykljfezmomdteijvvzutarauemxrdoayntvnilnmtobdpybuwwazbdseqqy
lrizsulzpwhzthdrlfdybwknxlivuybtnnmljykozzsbzfytjeuwduozrtxjkrulaaayteexiddpaqrmidmvqclqolbyescvewnmaoqimtsoglevwverptzzdbnjyrmxvnpuvenhzbqxgwqwturchmyodsubmcrdupbqhyaajoixnfterw

output:

93

result:

ok single line: '93'

Test #9:

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

input:

lrizsulzpwhzthdrlfdybwknxlivuybtnnmljykozzsbzfytjeuwduozrtxjkrulaaayteexiddpaqrmidmvqclqolbyescvewnmaoqimtsoglevwverptzzdbnjyrmxvnpuvenhzbqxgwqwturchmyodsubmcrdupbqhyaajoixnfterw
qipemwdxlcurlrrzxqvsatjoveecsevgpzykljfezmomdteijvvzutarauemxrdoayntvnilnmtobdpybuwwazbdseqqy

output:

93

result:

ok single line: '93'

Test #10:

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

input:

yruoqznrfwmwmzgpileisifyxtcxlkeiiilmisoaeeihgczsrtgrnwhseromwgcucezvba
epbaiyxuuwtzvnooiirsgemesqahmscroelyngrkzgizmlicccigwsftzimefxhewilwrr

output:

70

result:

ok single line: '70'

Test #11:

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

input:

gmxrkhdcvxbnogftqgqmqlghlvsyyckbobtfejpbsqcsmcmzqsujmilpbrpanjsxkzetsrictzzylnmqzassdbsqadkk
lyrbulscpucrokqzrafklgesesdmkqnlkitkrahsggtzrmgcncctbgqlmmjqsvzsbbeoicfsnylsjqayxpmskhyxdcpqmqtknlrpdjfosksdsqamtlxbqzeiubbzvkzhpqlkmucgtfgvtjsntplapadvusvtnwskkcungw

output:

92

result:

ok single line: '92'

Test #12:

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

input:

lyrbulscpucrokqzrafklgesesdmkqnlkitkrahsggtzrmgcncctbgqlmmjqsvzsbbeoicfsnylsjqayxpmskhyxdcpqmqtknlrpdjfosksdsqamtlxbqzeiubbzvkzhpqlkmucgtfgvtjsntplapadvusvtnwskkcungw
gmxrkhdcvxbnogftqgqmqlghlvsyyckbobtfejpbsqcsmcmzqsujmilpbrpanjsxkzetsrictzzylnmqzassdbsqadkk

output:

92

result:

ok single line: '92'

Test #13:

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

input:

d
d

output:

1

result:

ok single line: '1'

Test #14:

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

input:

x
b

output:

0

result:

ok single line: '0'

Test #15:

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

input:

v
v

output:

1

result:

ok single line: '1'

Test #16:

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

input:

r
x

output:

0

result:

ok single line: '0'

Test #17:

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

input:

g
wckdvuceywjntkhauwwfyyyqxsuljjmnqozcgnhtbthuhhwmmgtexjxxlawwvjopfvealnrkzqpktdsujzrvinajycupdqhtxuxinlzhbdtqqqfejbcgavbnxwacbabrkkzatargpgijsrqihfgmbhrwobkkndasfqucyfghfjzdbzkxecoehbxjlbscogzhvfdbgbxxdczzxhjwiqnhxbxiygklloyvtmvmcnhpkftudhcyznirjkylnollkmpqalejfjserwxefouueefctihlukfipjcnerlodevkcv...

output:

1

result:

ok single line: '1'

Test #18:

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

input:

ozsljwlxzkladmjibvyqpibpkwnxosrqhfqbmigkgxdtfnnsitxecihwisfonaejqeenboqxpqxbmdwzxjnodurnznaitbjikqaerbgkxdfjxnqyecqpqcnluezomtkvjprcqeaucgttwlpqeyfwenybcluxwzjvixlljnmpolktwnezewpiuwinsptbjqzplpeoeuwpehkycvrsslfznunjihtauplcipxmobnipqekegxmddzkepuqzoqepebgwmkuxipjbncgaskmzjhjnlokvxidvlbjgxsdtxiaikdm...

output:

1

result:

ok single line: '1'

Test #19:

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

input:

f
wjccwgexcoyyilhefsyhnclqrfybyrvbiarxspngszdlwkqqsxtyvyifxsjzjpqkqutndbccjtnumlkscwersxoqnhrzixnkujfbdxdodxpywlidkmdfqxroxzqcpksdkdydrhphpkbfbanvkjrtxhlevyxycugybfyywlnvigfgmyqffhoettytyjskfvkrstjhzgfjbeeanblwoengfrlxfxcwilkbqjvextpubzouyntcaaybaayglgobwbhjgryfgsglrgxeswdkfrzuovparpcaoksllnewddovzk...

output:

1

result:

ok single line: '1'

Test #20:

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

input:

hxbxubqvguigdlpsydragglmdghtfzdohhsalalbfcpzgrjbivoathyfqenlsfyzupoktcydtystmbldgownnvgvbsmehlubxlkjgbkogjapbnblrjnjnqvibmugubxgddxbkxgjxnspbvykudcztsyazwlrlvybenfxdiywneagsnnjyknfyrwiwtdebbocwqrijtwrfphfawjridbsxfqalzurcttsstalqeqaqfnmyoanqccafzkqmjfwhaoaugyhqvesbctjgcjdkpcbtarznafuerrdjmefjxmfejkq...

output:

1

result:

ok single line: '1'

Test #21:

score: 0
Accepted
time: 1501ms
memory: 4028kb

input:

eizryfvqsfvuxhuaxyetixnhualrlekhcfompgnnjnyndlzhrdbpipysnwghfgufpvyxqptfcwmjrdnvoaixtzlhmaexrptbykzxnllzfzclycbbejufwggeyrymmkvqncsumleexudhkuoqmlyxhqeffijhhwpeyfleuswitojebijjzhdxskvxecuyjtzjixpkknoabwxjbmuneqjwdunpvmdpdyzvcsnojwuhrtixaiejyzoeujwuofnjwvwigfvhdmapseumjzhlefrnolerpjintzronketlzaqtjdk...

output:

9

result:

ok single line: '9'

Test #22:

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

input:

nvrccpnrfxsubskjdhuywwakyfnhkzzjecwxxywensyxodzogfrbdbbpruxftedtttqxmqzmubsvtwmbjvvcmatktbuexxtcoxxhklevaqbufkuqjubfasppnandszgxgksvngvfceebzmzvxczprgrzaztoyaikkatuxtthohocygeujxblzwqqgnfdkbyucljrzzxbsseixoibimnkxavhypfbjizhgdbnyoflplskcffnipxzzfnjxhmtigmlvfjcpvmkuggaceijfdiygamspablbewnprgphxiwtrjf...

output:

8

result:

ok single line: '8'

Test #23:

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

input:

lwcnfvkljjomtjoyuayyaaugagaauaayguu
zszszrzsrbrsbbszsrsbrbsbszbzbsbbrsbbrszsxnbmqqdzcqrlslbkogppsfcaghqmldzktgstsqdjujczsbosjmcaybqmyxfqvbvbpktssmizrhnzregyceltaxmkiknzssbsbrbszrrbsbrzbzbbbrbrsrrsbsrsrz

output:

2

result:

ok single line: '2'

Test #24:

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

input:

zszszrzsrbrsbbszsrsbrbsbszbzbsbbrsbbrszsxnbmqqdzcqrlslbkogppsfcaghqmldzktgstsqdjujczsbosjmcaybqmyxfqvbvbpktssmizrhnzregyceltaxmkiknzssbsbrbszrrbsbrzbzbbbrbrsrrsbsrsrz
lwcnfvkljjomtjoyuayyaaugagaauaayguu

output:

2

result:

ok single line: '2'

Test #25:

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

input:

rtfefvtafjpiitaebidmqpjrmlevwvpjtpbtrbprdlvpfwgqbppefwgpwlvvadopdrqbeqwwboojfwdrlrbwuuizckczzkkcccckyykzcykkzkkkkyckcyyczkkzzkkcyy
nnxxnxhnsnxnnsnnsnhsxaaanyculvyyaujawooklfagmgajyuuutgjahhxnsnsxssxnnxsshhhnxnss

output:

2

result:

ok single line: '2'

Test #26:

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

input:

nnxxnxhnsnxnnsnnsnhsxaaanyculvyyaujawooklfagmgajyuuutgjahhxnsnsxssxnnxsshhhnxnss
rtfefvtafjpiitaebidmqpjrmlevwvpjtpbtrbprdlvpfwgqbppefwgpwlvvadopdrqbeqwwboojfwdrlrbwuuizckczzkkcccckyykzcykkzkkkkyckcyyczkkzzkkcyy

output:

2

result:

ok single line: '2'

Test #27:

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

input:

vlzvsaveyhxccwnwwgetvwzcvchsafactehffiibcgzaneeibijvhjxcxigcnhzwwnchcvzlstchwzcniewhgbetfzztztvjtyqddqqqooqqqqooqdodqddqdududodouudqdduuuoodooqdouduoqduudoquoquoqouooqdoddodqdo
kkrrkpmmkrpppprrkmpkkmkrpkrpkpkmmpjrpcpbzlvboweaylkirbvcpwuwkkdkptjecytgzwzcwatfvzkrilrkquzgcecqybcdqkvdokycvoeqkwfeyzkyckp...

output:

3

result:

ok single line: '3'

Test #28:

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

input:

kkrrkpmmkrpppprrkmpkkmkrpkrpkpkmmpjrpcpbzlvboweaylkirbvcpwuwkkdkptjecytgzwzcwatfvzkrilrkquzgcecqybcdqkvdokycvoeqkwfeyzkyckpcrrpzkzacdfbjkjlkfritfpipkbtwyyvfdbwprmrmrpkrrrkr
vlzvsaveyhxccwnwwgetvwzcvchsafactehffiibcgzaneeibijvhjxcxigcnhzwwnchcvzlstchwzcniewhgbetfzztztvjtyqddqqqooqqqqooqdodqddqdududod...

output:

3

result:

ok single line: '3'

Test #29:

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

input:

bggqggqqjqggbjbjbggjqjggggggjqjbqqqbjqqbgqgqjbjggggbgjjbjgbbjjggjqjjgbqgqbgggbbbbjjjimzuiueeepcvccesihlseomliavcupvnsnxuzziuxeufhxolpcp
ttwwyyktykywkyytwwwyywyywktwykktwyktywttfccsqyudxodidquhtqhqqqdjbeohgzhfuwcdwcevovigwdqdesewwqwaoadboztdvduhudzbqqdzcjhoczqdqzddvwdouzqleyfglqovzecxccoqoooooquothfc...

output:

4

result:

ok single line: '4'

Test #30:

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

input:

ttwwyyktykywkyytwwwyywyywktwykktwyktywttfccsqyudxodidquhtqhqqqdjbeohgzhfuwcdwcevovigwdqdesewwqwaoadboztdvduhudzbqqdzcjhoczqdqzddvwdouzqleyfglqovzecxccoqoooooquothfcuwdodtincoaoooeunuohuttuciddztqjdiqnuuosnvnvagdqxvidtytkktkwtykyykwytwyyywkywwt
bggqggqqjqggbjbjbggjqjggggggjqjbqqqbjqqbgqgqjbjggggbgjjb...

output:

4

result:

ok single line: '4'

Test #31:

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

input:

ggewwjjggeegjeeegewjwwjwgjjjjejeegwgjgwjwjgwggjwjeegwgeeewwwjegegwjgeewgjqsqyhzbksxsllbkqzvxnyxsltknatbszlhydzst
prrrppcjggggggjvcbgcjbcqqbbjslgcggbqqjogzujpieqgejlgjqxbejgjbqggjeigsugbbvqspxbxgpbbjzghjqjqggglbnjqbmamjqbubbifveziiujgcquqhongugqjeggpjjqbjgccprppccmmprrmrcrrrpprmmmrp

output:

4

result:

ok single line: '4'

Test #32:

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

input:

prrrppcjggggggjvcbgcjbcqqbbjslgcggbqqjogzujpieqgejlgjqxbejgjbqggjeigsugbbvqspxbxgpbbjzghjqjqggglbnjqbmamjqbubbifveziiujgcquqhongugqjeggpjjqbjgccprppccmmprrmrcrrrpprmmmrp
ggewwjjggeegjeeegewjwwjwgjjjjejeegwgjgwjwjgwggjwjeegwgeeewwwjegegwjgeewgjqsqyhzbksxsllbkqzvxnyxsltknatbszlhydzst

output:

4

result:

ok single line: '4'

Test #33:

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

input:

sdeededseedusssuueessduedesuddeddduusdsdduueuedesdeduueddduddsuuddsddsuuddsdxnqfggjzlnnqtzjcvqotjlbhtfpgjgjlotibcrhrzn
wkaawmkaaawkagsjbwwjszbeeygegjgggzwbwggjneekwjjtgeqjeagkjlhwwwwjewwylsexlwjxggzhjzqeegjswesengkwjgevwjgxswjetjegyqedtggljjewemawkkww

output:

5

result:

ok single line: '5'

Test #34:

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

input:

wkaawmkaaawkagsjbwwjszbeeygegjgggzwbwggjneekwjjtgeqjeagkjlhwwwwjewwylsexlwjxggzhjzqeegjswesengkwjgevwjgxswjetjegyqedtggljjewemawkkww
sdeededseedusssuueessduedesuddeddduusdsdduueuedesdeduueddduddsuuddsddsuuddsdxnqfggjzlnnqtzjcvqotjlbhtfpgjgjlotibcrhrzn

output:

5

result:

ok single line: '5'

Test #35:

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

input:

yytyyyyyuyttutuuttutttrruuurrurryrytyyuutyuyutuutfsnvpahsnnnqbhsbmjvinbiqxwfbnjafmgicgaeihmqvacgosgijpgmyyrrtyurtrtyrytyyuuurtyttyyttrruyttyuryrutruutrr
llkdkzkdzzkdzkkkzkkdzllllldkkzzldzklllkkddllkzdkkdlkkkdzkzkdlklzddllzkdkzldzllddklldklkzkkdlzkkllzdzkdzkdddddkzdzdkkzkzlldklddkzzlzkdzlkkdlzkddzdlz...

output:

3

result:

ok single line: '3'

Test #36:

score: 0
Accepted
time: 4ms
memory: 3972kb

input:

llkdkzkdzzkdzkkkzkkdzllllldkkzzldzklllkkddllkzdkkdlkkkdzkzkdlklzddllzkdkzldzllddklldklkzkkdlzkkllzdzkdzkdddddkzdzdkkzkzlldklddkzzlzkdzlkkdlzkddzdlzkkdklzkzzkzkkkdkkldkzkzdkkdzdkkkdehdtsgsolpisqzzuejuseddbjzngdfsddsensexdsddusrdecueddnuftejusdtduggeuledddsudqdjldedunuretuesedducduhjoqdeduudssvdsbukkz...

output:

3

result:

ok single line: '3'

Test #37:

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

input:

ghhgpgpggpsvnffdnrmvbrtnsfanzdrjaadorjmstzjmzevarejtrudectdjoeonmjofrracnueikcfemtcuifmnixxxxhx
ywlllwqyqwwywlyqqwqllwlwyywyqylqqqqlqwwwwwyqyqlwyywywyyywqqyywqlyywwwqlywwylylqlyqwqywywywllqwlyywqwyyrytvucnynfrtqhrttryjubyymtyfuttoutrtuegswrrrrirauuqrssxqhgmuttiuygsunyjnprtybubjttyiutyrrytuyuutuatvhy...

output:

3

result:

ok single line: '3'

Test #38:

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

input:

ywlllwqyqwwywlyqqwqllwlwyywyqylqqqqlqwwwwwyqyqlwyywywyyywqqyywqlyywwwqlywwylylqlyqwqywywywllqwlyywqwyyrytvucnynfrtqhrttryjubyymtyfuttoutrtuegswrrrrirauuqrssxqhgmuttiuygsunyjnprtybubjttyiutyrrytuyuutuatvhyturacgyitfyttnuturuayryyrivyumuptymrtryuunybtgyylwlyyyqqqqlwywllylqllyylllwqyllllwyyqlwwywyqlqy
...

output:

3

result:

ok single line: '3'

Test #39:

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

input:

vbveborjfrgzfglecceceevcbvebecce
ttuuttuxtusxsuxtttxsxxusxuttsxusuutuxtsstsutuusssxsutsussstusuttxtxtutttuxusxrindejfcruemebmdnheftvorpnmoxrmkfauougjhgxxiidomtzzarsxrtgjjcfjafmnvenheajpftsrsgpdcnazgtvcnxdrtsxxtxuttttxtxtusssstsuutxtxxuusstutus

output:

2

result:

ok single line: '2'

Test #40:

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

input:

ttuuttuxtusxsuxtttxsxxusxuttsxusuutuxtsstsutuusssxsutsussstusuttxtxtutttuxusxrindejfcruemebmdnheftvorpnmoxrmkfauougjhgxxiidomtzzarsxrtgjjcfjafmnvenheajpftsrsgpdcnazgtvcnxdrtsxxtxuttttxtxtusssstsuutxtxxuusstutus
vbveborjfrgzfglecceceevcbvebecce

output:

2

result:

ok single line: '2'

Test #41:

score: 0
Accepted
time: 1448ms
memory: 4028kb

input:

lbifgiulakleaedphrvnuzcrafhjynrhoslryhkpaotogeoemkiwhiotmbizbylymmxkdyryjisphoplmhscaraszvstywgfoewwpsunvjfmwuysitadsnnpwmvmdioaksimgimrmorwyrairrvbjwdbpwcfvzqgklzjzhiqfmjrtdpyfjrcgiurikennqboydybobhqiedwbdpqfzhrjyyhtylkkeazmyptqeymxgtsydqpoxhasztnlehbifaurewmbdjsvmovhjkltuwrtnpvhhynhcnbdghtrbrnxjkx...

output:

9

result:

ok single line: '9'

Test #42:

score: 0
Accepted
time: 1424ms
memory: 3936kb

input:

emozuxuquaglnfjrafjotgzemoycihpjaeooeuqopusvknuftwjudwxwzlzpvheqbcfqaunfrbkcxsnruiuteqarqbttlntqrnxhrofszconillsijaluerlagnpujlzhvqunytehbvwrihzurpfixvgbbnyhotcqibjfzbidujsdvboyoyoselgeapuxdwmxmvlqqliuymgdaezhtmmtcubpdzejprjxfntejvhddvipgjynrzsztryimvmlrdrpsgawgwrvidupazauomaojqsownimsqndkgglzoabkcn...

output:

8

result:

ok single line: '8'

Test #43:

score: 0
Accepted
time: 1442ms
memory: 3940kb

input:

uizwmpcbokltscsmbotcajhdvcorgghijmmxrelhsjhsplqyythrfnqmptcyrviqqfigdzxveyeawhacqupvudtbfakkqrxtbygjmtmyyoaieehxbordeaaoezdluyxcgscipvypgyhoycdljtxotoredmgxhfxwhnsapoagwnopncjoqnxanpyvvcddywkpscohrzpcekbganhvswmfdgwejraqgjzqwofqipzaawmbkhbwawfmsovmnoopargndqmaegubeobvfebxvvwtnqbhragjoootcnhotzraqxgr...

output:

8

result:

ok single line: '8'

Test #44:

score: 0
Accepted
time: 1457ms
memory: 4028kb

input:

yxvdqzvhhbjcakpucujpbjufwtpffxnkdzfpukdfmbzouzyodiuqimiomiesvvvhvftegyrfwottkejehjmtwuphgcwgnotwxloybhspqsxoexufnhddyzelfuogsxzeyxejokhuwqwzvjmdzgchqyuovjfibtponwdgesprsgttlemfwjrjzeqkiozgkzszcxqnbtkvavkekicgcderwhkqecxjfgfggrivmgujgjsgefguanwhsnozgdfwwrxptjewzwlweiuzvjixewkwzbgyojmkonvnszctzgknocib...

output:

8

result:

ok single line: '8'

Test #45:

score: 0
Accepted
time: 1456ms
memory: 3896kb

input:

jdvbrztzukojnzevatozgtiapossqrhpexvapsxxdcuhaorcgudfubbiskmrvrlohmfhhcjjoixenilbnqlwcjxlnwtnmqwpzsxfctssmtcjhhtfzorpxxnsgbttkfhzwajnxmdfrvloifxpyukkiwmeycoggncgyxqptzvqxyccuhaidjipvbjlqgblbuvrrxrrdjligxrmbzcfdeulvekazsenqnjwqyklaoeustbcjbuuudjfixutqiloznfqubbrulaoayvimkqurbvmlefvkbvgxgihumgzoianxotp...

output:

7

result:

ok single line: '7'

Test #46:

score: 0
Accepted
time: 1462ms
memory: 3940kb

input:

hsgsrprpadcncxngmbjosfbzsauckrzzcukmebybsfnvnekqunfufhbqztohoiztlfewprscbpcyalcerkfnscopfdimznidsgukqikvsdmmqnmsxebrrrsoysmoqhperrkqlekvjaigoalszzpmtsvemnbqqvodgfxohgemfktyoxjninvljjunhmrqetzxzjwypsgrlvayzeidwjzegnhzfptidrbtntlkfuikwqtllfuxjrhiosozekqggcbqhgfyjpvwapgifvvcsobslnarxkgeooxmnxltzzhfvfli...

output:

8

result:

ok single line: '8'

Test #47:

score: 0
Accepted
time: 1423ms
memory: 4020kb

input:

ysvqhhpbppyzatkiqvghnehdmwzkwdyhlfsqonqnhlaweulbpshhyubkptxgaoqqbdrfkmjvgrjzpzghopwiffdhvepccryynympwiuiowfmwksxghyexozipushmdokhkvdbcmlaovouflvkydofovyargqrzklcjofamdiykfdtoxufiqtoyamruthruimlqoijgpbxaqxiaprbdhxoxryihhakzxrfoxfewttutxlpxuhiirywtppfdbetrpfukooillmqfpmetquwbjcmfeeiywlxybevluwrvisgxfn...

output:

8

result:

ok single line: '8'

Test #48:

score: 0
Accepted
time: 1439ms
memory: 3940kb

input:

nvioxdptlkfufyxbvmlzagapmsmvvtlwmraetalydzsbqltfqdvhujpzymohrqfqhhezfulrdkhnivvgafbfjmonwkdfwyumbdwiqhtiygrzjstkbwklzuvztwgptqexhswchdguetdosbnqdtodxdfaddhwkdaaspgboppnusjpnmmulugtaiderrdhqsmqxrgrdbtxocqfddkxuepuhohcokniragqgdxfozrbfdybjztpomavlhpefeboxggcrfrnhpdgcffrfgoeiyakayrkybpvclgyebeuyxzdzenk...

output:

8

result:

ok single line: '8'

Test #49:

score: 0
Accepted
time: 1468ms
memory: 4020kb

input:

lhdneewmqfvflhqaxxtyenqshbqdcxgvxscclxupdrvttmymjlvhhnnphkrnfilscyefkhridbiosgddyslgclhpvpdsrannimrdjyxjzeuirjynoxwrytbyghkkzugiupyfmsyzkgfgbqkmczxufcasoggxqwgcikxggmnrbiyhaqoxchpwdtieubhyzesomevivxfajobemfsmtewfgdpgssrnfnamlvkgobqajagvpgpgrszqbckqgnuzbyanvqmhpwgpbzziiumalhgpikujrixvtlgbnwkyxczeuhra...

output:

8

result:

ok single line: '8'

Test #50:

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

input:

wasuaurdndbrxwvfafqtulpvadygfeoaddpojvsbdqglxpjpwrgfdmgllkgjkihjmpnwywhyspzxghciuyspsvdlkqpivruuqltyhgdtdhqgdgmbdwwbcjlubpbmdoeuxzkevunzknoireceyavartlwvjegjmsuurpziibkrnekwgzylersqnuokmbtxfxwrqbcfhelmymayeclzuajhvrpidjzyjzubfpkcplkdyfhaewxheuvhoyrfblaslungaairmnhizazamskskcdnaplotculyxwppijlvdfzntz...

output:

11

result:

ok single line: '11'

Test #51:

score: 0
Accepted
time: 92ms
memory: 3712kb

input:

azazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaz...

output:

1

result:

ok single line: '1'

Test #52:

score: 0
Accepted
time: 93ms
memory: 3800kb

input:

zazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazazaza...

output:

1

result:

ok single line: '1'

Test #53:

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

input:

soayerkzsygshliwdsitoditgdktnlwowfnzjtnwnnfraewzjpwyylkailedzjoyrqfwjltoirazayylzrmjfcrosawnkyrzbzzryrrxzdvainlzraorkeawarqkavrzrokhjsmqsjwnixpaltinjqzfyjdygaiyvswlrtqorzrrtzywjhiwhrxsryiwgqutfdehzqgglgnaogxiymlrruwwjsiiidpseqdapkokfwzndrhwcotftiyzzrngylovgwetwkzyqdhayynceykorzgngosxlqgrnazprtxggzns...

output:

5

result:

ok single line: '5'

Test #54:

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

input:

ehlkymtytklhthcmbjklrhrpuxhrdqwgphbzxqycmhqdjctxwozsedrgluohdsrhmttelstbnrmtnzrjlivdmyiwrorimjjrtsjmioizhzehrkrmostohprzxpzmchpcptdjmjspnimjjihrzipsrsyzrtrmcjohrhhocgtzxwyaehzzjmkhrhfxetdcsxidythhhzhtzzgredzskcezkiynhmjpnhzmyrnztcgspxujmmdgjmymcslsqawthiwyvyhskurbzdqhrjtylmzkcbyqhbhjpsijhhnbmtukcmoj...

output:

6

result:

ok single line: '6'

Test #55:

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

input:

erkgxnedjfquveezsxujnsqdpovoezqkxhcvsgomfpoxfsoextzkjrueevtnhhhuszthtsnfoqdmzujfizsxgitschvjrucnsesoeuhtzhxakjcxysuxslfffsxsesjztttapzhrhsuiievhthfznrsffsuhzlzhklznvioutdqzhusmosqhislfkfzipzmmmrrxotuzvsiosmsnloftxfjocnzhzcusoioinssnazfqeutlussegonffulrrqedosvcfhjsnchfogfizcuzgfspyxxerolxxbsuqyvuofus...

output:

5

result:

ok single line: '5'

Test #56:

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

input:

wwhhdhhjjhkjmevgmwxhkvoyyiwjbykbpdkuwkvywkdenmifiegiipukvuykiwxvfeikjkjudjbwhnilkyjhbpddrmwhjuvrwnohzrugnfrekvjuidwekowijuuewummfivvklremjrvywddedwwzjdewxzhekivighierpyrkkhuibrrxhebeyiyjihivhyiuhiwykeivhdesrjukvhdjwdkihyvseujjfvwiwwkeejwydjemmwkbiirweqehwdjjwtdhhiihuwuviybhqkuqgxiehkkwveehkeqhilebur...

output:

7

result:

ok single line: '7'

Test #57:

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

input:

ribfrljkptbqlcmxkoejirftfatzewztqpqstbzmfmmixqalzfxgifmjtckgcsxkokiefyizsjtgqgymlimcimsmtkjfsytjgckqlycdtzyxjqxxxmsfiefifzmikztlqsetltryiimlqtgtfcecxckjiraikxfezfqyzlkgkleeoecgxmkxmyeythicslkeosqmgczszhtqlatxdxyckseeolicibkqylccsmmmizcojklksgkmcslbekclmfzskzkjmszyzqcssdxhbrfkxtyqqeifxbfmllboisfafxsj...

output:

5

result:

ok single line: '5'

Test #58:

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

input:

guhztnqqeejkyjioabsmxpkcgfoqjeharcexqhbaheyezjauqquqqabguhpvcghpcunpvixdupzyxcicnrqxnhcgtiuqhhevkgcojqjetcpxlbqqbtqpxeugxvqryegyffrrtxicnaptcxqntaukhkmobuinhaykozvgakqacktkprlrcuvyhghkheyhlpgxdltrplpvthlpiahruphaxhtgavhnbuhxgvuxuumyefgpihlgiibhauohhmlbvlamhjkealpcvqccrbzbtezmpiyzprrotp
aqnqajnhjgima...

output:

6

result:

ok single line: '6'

Test #59:

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

input:

dcznljponzzzvewnavzbxnjcbtaqqrzqppxmmbrvznjxeebnbhmveanpwxchjdzwjpiqqxynhbciowiraymgxexazbyxadciljcahxiatqfqcalhzzrwbvamnyhnzaejvlndgzxqjwcbzbzzhnxxpnpidleiiqijjczexbzagmxszjvaxxfcvxtqjaevzecexqiagtwxjmcrypaagmitmaevxibxjfxuevrnbjwjwewliuqjjterafzljfyrvoljtcpazyzfhvgbnmteppintiadzrljbrthhynzrhrycmjr...

output:

7

result:

ok single line: '7'

Test #60:

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

input:

cdjjhhonkmyyaslvpvgligaluppysxjskpirvlaynlyknvnpkmxpkacanyuevrhooqgmaxrvvnkofhvjrgmszrmdloexpufpqjkmarpgluxponvkoysagjxravnyljaqndujvmldmndrxxvhfajrmpauplpoznykpmnxkokjczdgaryrsgdjnxjrjqcxvvrcjxoplxjmrqljnbuyqgunqmjmsrdvrnoqnynvuydlvsmoamgngvdvvxkrlmkvvlivqngaivrjukzgklvoqqmbjlkvjpgdgmzogmkyzrzzapq
...

output:

5

result:

ok single line: '5'

Test #61:

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

input:

wjrrecpblxsdxlorigelfclvxixwvgcgvxbseoggghcbbugyhrgzhxsihfgmkxyycmdfkrrfezfpzrsgzysycbmsuleelbhgsglxekpifzokvwoxrlhuqrldjevvlbpgdekyvfrurcnxchuzyppkcnhreqvwsoebeetvvbjysvzlucboupjlfbruwwzhvdewgjkfovlxfkyzzocrazwdxxfdgmyhcfiotcikelbwoftrxokciguvgxcxrjboxdfwgzuumrvrdmsjrl
myuivrvycjblcllxycqxmsyjeglkb...

output:

5

result:

ok single line: '5'

Test #62:

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

input:

gzvhpzstzpqvgztkjbspbbksbsuueghhzbosvgggqpzunibjrngrkinnbxhhzhnkbvznkwpszqpbsqesmstgjvubkywtqkibgzvhbhdpmszsrzxmezskpgurrgtjqvrurbqrkwysogpsimuhkimnqtibkqginhsgjkbsqgkihrhupgkkpobsibvhgmzsvgoiqurkvzpkziv
skxiqpimisbvgpwdvwgoxgathimqkzbiydscdkrikjvvnqriboouuzuuktdvigivzruuzhjpnkzssijqriuttipdqkqkgogi...

output:

4

result:

ok single line: '4'