QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#505640 | #3491. Meow Factor 2 | xiaowuc1 | AC ✓ | 719ms | 4316kb | C++17 | 1.9kb | 2024-08-05 06:35:03 | 2024-08-05 06:35:04 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3596kb
input:
pastimeofwhimsy
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
yarn
output:
4
result:
ok single line: '4'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
meow
output:
0
result:
ok single line: '0'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
z
output:
4
result:
ok single line: '4'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
o
output:
3
result:
ok single line: '3'
Test #6:
score: 0
Accepted
time: 114ms
memory: 4176kb
input:
meomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeo...
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
wtmeowmomeomm
output:
0
result:
ok single line: '0'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
ofmfwemfemmfwfeow
output:
1
result:
ok single line: '1'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
eeememeemoweeezwwm
output:
1
result:
ok single line: '1'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
jwmoowwjwemeeejjew
output:
1
result:
ok single line: '1'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
eeoeoleelomewm
output:
1
result:
ok single line: '1'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
meqowoqqmw
output:
1
result:
ok single line: '1'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
wmooggememwggewwm
output:
1
result:
ok single line: '1'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
omemuuuemoewmuumom
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
ooecoeoeecwomeoome
output:
1
result:
ok single line: '1'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
oegemggowomgg
output:
2
result:
ok single line: '2'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
mmvevvomvvmmmmvvoewv
output:
2
result:
ok single line: '2'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
ececwceemcmccccc
output:
2
result:
ok single line: '2'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
eoiiiiemii
output:
2
result:
ok single line: '2'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
omlllollmwlo
output:
2
result:
ok single line: '2'
Test #21:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
eeemmmlmleeemlwlmll
output:
2
result:
ok single line: '2'
Test #22:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
tetooomoettmteemt
output:
2
result:
ok single line: '2'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
mmuuwommmumu
output:
2
result:
ok single line: '2'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3524kb
input:
mmmqqmqoqmmmqmmmqqoq
output:
2
result:
ok single line: '2'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
mgmmgeeggooemeegoogw
output:
2
result:
ok single line: '2'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
ffffffwffffffff
output:
3
result:
ok single line: '3'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
vvvvvvvvvovvvv
output:
3
result:
ok single line: '3'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3744kb
input:
yyyeyyyyyyyyyyyy
output:
3
result:
ok single line: '3'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
zzzzzzzzzzzzzmzzzzz
output:
3
result:
ok single line: '3'
Test #30:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
vdcgdraaug
output:
4
result:
ok single line: '4'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
aesksjtkokyet
output:
3
result:
ok single line: '3'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
oowobmmwmewoeboowmwbwwweoeeoomowembmbmmwboooemewwbwbweoewembewobbbbwwmbbemweemboomwmweoeewwommmwwewooewmoewowmeomeemeemwmewobbmbmmbboowommebwbbmbeooeeeemomobewbbemmwwwmwowwobowwbwmmoeemoeombmbbwooowbobweommmbewomeooomeeoeowwmmwewwbbeomebweobeewbwbwwowoeemeboemmbmwbbmewmembwbmooweoewooebobebboeeobbbm...
output:
0
result:
ok single line: '0'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3480kb
input:
wnmnwowenwwmnonmmmmeennnewomemnmwwwnonmmwoowowenonwemmooewewwnnmeeoeemeeenmeeoooemnoneemonwoononwweoomomoenwmnewenwmoommeemnweenowenewnowwwmonwwowomwwnmwmnmmemonnwmmeeoemneewwwwwmeeneeeweenwemwennnneeweoeoeonwmwoewowmomwmononnomnewnmoonnmnmnneonnnnmomnenoonnommmoemwwowmnnnomwmmeeeewnewmwwmmenemnewem...
output:
1
result:
ok single line: '1'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3592kb
input:
owoowmoemoweoeuoewuwmwwummooewwmwwmuommweuwmuemwomoeooeemoeomueoemuuouwoeoemeumuuumoeueomeeooowmuwemoeeuuumwuwmoeomuwmuuoweummmumooueee
output:
1
result:
ok single line: '1'
Test #35:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
eememmoooteeemmwtwmtemeeoetmooeotmmttmtewwoetmmtomttemomotemwmemetmweeoomemmtotwtweootoemeetwmtottmwettmtetwettmotwtmwtoomttoeomeeomtemwttemotwtttetememmtwtwmtwtweomemttettmwtteotmwetmtmwwtoeememmettoeomotwwmmteetmmetmoomtmtmmemeeemotmeemmmemteeomomteoeoeemwwmetoottoototomtwottwwmwmtttmototwtettmeee...
output:
1
result:
ok single line: '1'
Test #36:
score: 0
Accepted
time: 1ms
memory: 3548kb
input:
weemmooomeeeeewoiiimwoiwwiweiieoeiieiomimoimiommwwiomoiwwiwmoemmwooeeewomwoowmimwemwoewoomeimwiwweioommooiewieoomeimmwiiiiooemmwoemwmwieoeooeeomeeoimwioeeomwiimoeimmmomoooiooioweewweooeoiiwmoomiwiwoeeomemeieoomiewoiieomwewioeioeioowommmwememeiooemimmomwmomemioomwwemoiimiwwimweweooeemeioommomwomomwii...
output:
1
result:
ok single line: '1'
Test #37:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
maamomwewowaeewmmaewoammeeeeweoaeoaommwwawmmmmaomememaeeewmamwaeoaoeoawmoooweeoaoeeemaaeomaaomoeemeemweeeoewaawewaoameemmmommeemoeewaoweaamwmomaaamwewowmooaoweewmaoewmaaemwememmmwooemmmwaawmwwwmeaaomwemaooewmmeeaaommeeemwemmawewwoeooowewmommeaowmaeomoawoweewmaeoamamoaoewaemmeaamwomoemwomweoammoemaoe...
output:
1
result:
ok single line: '1'
Test #38:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
sesseweeeeoomessmswmmmwoosmwoowmemwoooemwoseoooesowmomwsswomsmosmwwemesemswwomommsswemosemesmmmomosewowsemmsmosweoewewwmmeeoewomsmsoswmswsosseemwewwwomemosmmmoeemmmswsswwmsmwsossweoswseoswemmweemseooswmomwewswmmoeosmwswewsoosooswwomssoosewowsmosmommemswemwwmmwoomoeososmmwmmswowsmosmmwosmwmmmemosmoes...
output:
1
result:
ok single line: '1'
Test #39:
score: 0
Accepted
time: 1ms
memory: 3528kb
input:
mwoecemoomomeccemceeeeccmwocceccocmomeccmcwmocoowwmmemcceoommeccowcoowemecmwoocwowmoocmmecmmeceeocowmmwoccwewwmocmoeoecmmemcwcooowmomccoeeccowewmcecmemmmwwmwwmmwommemcecmemcccemoeomomemecocmeeoocmeeeemcmmmwwomemeecooecmmcomcomommoomccmceocmcwewoewwoowooewmemmmmwcewmwmmwwwewoeecocmoceeeomocewomwomwww...
output:
1
result:
ok single line: '1'
Test #40:
score: 0
Accepted
time: 1ms
memory: 3524kb
input:
olewmemeeelewlwmellwwwwlwewwmmwmoleemmlemllmmomeeeemlemwoloolmmwwllmmwllmememlooweleomeemwoelooolwemmmllmelmmwwwlmwwwoeooewlmeloeolwomememlemoommwoewwlmmeemwmelllolwooeewwwwoeeolemwlmmlooeoooeeooolollmmwmwlmelelwomommeleomomllelomelooolwowwwoooolewwoeeollwwlwowwomomwomomolmlmmwewlolwomlmooleemmmmeme...
output:
1
result:
ok single line: '1'
Test #41:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
mmiemimiimiiiweieioeeeieiemmmiieeiemieeieeemimmmmiiemmmiemimiiommmmmmiiiemiemiiemieeiimieiomieeieeimmieeiimmmmmiimmmiimmmmimmiioeeiiiiwemmimieiemiiimmiemiiiiiwemmimimmmmiieeimmmiieeiiemmmimiiommiieioiwomieiow
output:
2
result:
ok single line: '2'
Test #42:
score: 0
Accepted
time: 1ms
memory: 3748kb
input:
emmmmmmrmrmrmrrmmrmmmrmrermrreemremrreemmrmmrmrmrmmmmmremremrmrrormreeroorommmmmremrerrrerroemmrmmrroooorrworwwwwerrrorwroemrroeemremrrmmrmmmmmmmrmrmrmmmrmmrrremmmmreemrrermrmremmreemmmmrreweerommmrrermrrmrreermrmmmrmmmmmmrrmremrmmmmrrmmmmmrmrmrmmrerrmmmmremrrrwmmremrrrwmmrmmremrmrereemrmrrmrrremrrr...
output:
2
result:
ok single line: '2'
Test #43:
score: 0
Accepted
time: 1ms
memory: 3592kb
input:
embemmmmmbeeeembeemmbmmmmbbooembbbommmbeembbbommbbmbembbbwboboebebembeboombeemmmmbmmbmmbbmmmmbmbmbeemmbbommbemmmmbeebmmmmmbmmbbbobwbwombmbemmmbmbboebeboeembebombembmmmbbbwebmbmmbmbbeebommbbmbbemmbbooemmmmmbbembbmbboemmbemmbbembbmbbombemmbbmmbbommbbemmbbmbmmmmmmbebeembeebbeeembeeebwwwooobmmmbbbmmbmmb...
output:
2
result:
ok single line: '2'
Test #44:
score: 0
Accepted
time: 1ms
memory: 3768kb
input:
wmffefofofofwmfmmmfmmmmfeemffmmmmmmfmfmfeeefefmmmmmmfmmfemmfefeeeeffwfoofomffffmfmffefommmfemmfeeffwwmmmffoemffmmfmfmfmmffmfeefoeeefoemfmfmmfeeefommmmmfeffwoommffefmfmfeffommfeeefemmfeemmfeefmmffoeefeeemmfmfefmfmfmmmffeefoofofmmfefomffeemfffmfmffeefeeffomfmfmmfffmmmfemmfmmfemmfeeemfmmmfmmfeefommfmfe...
output:
2
result:
ok single line: '2'
Test #45:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
voveeevvmmvemvevevomveevoovvwwwmmvmvvvevevemveeeevvvevevmmvvvemvemmveevmvvvemvmvveeemmvvovvwwvveevveevmvvemvevovoomvmmvmmvvveevvmmmvemmmmvvemmvmvemvmmvmmvvvmmvvoovwvmmvmmvvveeemvvvvvoemvmvvvvwvmmvmmmvmvevoommvmvvomvmvvmmvevmvvvvvevmmvveveevvoeemvmveveemmvvvoomvmvmvemmvmvevveeemmmmvmmvmmvemmvmmvveevo...
output:
2
result:
ok single line: '2'
Test #46:
score: 0
Accepted
time: 1ms
memory: 3744kb
input:
eneeeeeeemneneeenmnmnnnnemnmmmneneneeemmnnmnnenmmmnmmmnemnmmmmmmnnoeemmmmnneneeeeeemmmneemnmnnnemnnoemnmnmmmmmmmnneemnmmnmnmnmmnemnnomnnnnennenonwenoenennmnenonenommmmnmnnmmnmnnoonemmmmmmnnnmmmnenemnemnnmmnmnemmmnneeneneeemmmmmmmmnnemmmmmnemmnenomnnmnennwonemneennwwonnooomnnnweeemneemnennenooonwwemn...
output:
2
result:
ok single line: '2'
Test #47:
score: 0
Accepted
time: 1ms
memory: 3532kb
input:
emmmfefmmfemfmmmfmfmmmmfemmmmfmfmmfmfeeemmmfemmmmmfemmfmffmmmmfmmfmffoemmmmmmffefeefmffmmffemfefofmmmfefeefeeeemmmmmffffwoeeffmmffmmmmfeeeefmmmmmmfmfmmffefeemmmmmmfeefmfmmmmfefomffffefmfeeffwooemmmffomfefooofoffwfwwwwwfmmmffffmffefmmmfmfeeffoomfemffoomfmmfefmfffeefmfemfefffmmfefmfeemmffmfemmmmmmmmmm...
output:
2
result:
ok single line: '2'
Test #48:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
myywyoyyyyyemyeyoooommyemmyyemmmmyymyymmmymyeemyymyyeeeemmmmmyeyoomymymyeyyywmyeymmymmyeemmmmmmmymyyoommyyywyooyeyeyeeymmmmmmyyeemmmmmymmyeeeymmyeyymmmmmmyyooemmmyyooemymymymymyyoemymymmyeeemyeymmmymymyymmyemmmyeemmmyymyyoeeyyemyyeyeemmyemyyoooomymyemmmmyyommyyoeyyoyoomymmymymmyyoemmyeymmymyymmmymyy...
output:
2
result:
ok single line: '2'
Test #49:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
swemmmsmmmmmsesoosomssmseemsmmssommmmmssswooeesooeeessweemsesoeseessemmssooseemmsmmmsmsmmsmsmmmssoomssoosswseeeeeemsemsmmsmmmsessmssoesmsmsmsesmssmseemmmsemmseseeemsmsmsmmsmsmmsmsssmmmsmssesomseemssmsmsmmseeesoommmmmsmssmssmssosoeeesmmmssemmsmmmsesswmmsesmmmseesmseesoeemsmmsemsmsmmssemmssmmmmsmsmsms...
output:
2
result:
ok single line: '2'
Test #50:
score: 0
Accepted
time: 0ms
memory: 3604kb
input:
whemmhhehmmmmhmhehohweemmhhohhohehoemhmmhheeemmmmheehmmmhhoehohohmhhhmmheehmhmmhmhehemmhhmmhehommmhhmmhheemmmhhommhmmmhmhhohemmhhmhmmhhmhemhhemheehhehmhhhemheehhwwhmhhoehoemhhheemmheeehhemhheehohooheeehmmhmmmhhoeemhmmhehohwoeeemmhhoemmhhmmmmheehoomhmhemmhhehoemmheemmhmmhemmhmmhhohmmmheehoommmhmmmhmh...
output:
2
result:
ok single line: '2'
Test #51:
score: 0
Accepted
time: 0ms
memory: 3824kb
input:
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccwcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
output:
3
result:
ok single line: '3'
Test #52:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaoaaaaaaaaaaaaaaaaaaaaaa...
output:
3
result:
ok single line: '3'
Test #53:
score: 0
Accepted
time: 1ms
memory: 3620kb
input:
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...
output:
3
result:
ok single line: '3'
Test #54:
score: 0
Accepted
time: 1ms
memory: 3540kb
input:
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
output:
3
result:
ok single line: '3'
Test #55:
score: 0
Accepted
time: 1ms
memory: 3820kb
input:
igjsdrpavbkrgjyyuyvgssbbuynzbpucfcgtbdydqljjaqkrbtxgfrkiudiyubxsxpkqrsppsduqduvrchpygccabuzsjpfcvkdxvvakxdqnhhqnzjjhbnlyqgjxiqckzspzzfdcrxcbhdcjxtxgfgsacxxyjylbguadgvtggkuulauqtrqrpnrykjlbnxxlcardhsavsxjbsutslyhlzifixkuzqfdzkstspifpcpunfjfrdvpkaxtadxiyugnqpbbkpfbfgssiuzzalapyxprqujulnsktgyuyiqvpthdx...
output:
4
result:
ok single line: '4'
Test #56:
score: 0
Accepted
time: 0ms
memory: 3768kb
input:
kkyyilayitjxlrftnsgpusvarrjvqvtiobvydmbzhqwhjxdmqzdxfgolcowmmwvwrajpqfgtyzyiyhjdbbrbsuziswizntnoywmgjsebpczkyltzyfvexjomalleimuzepujvxowjbyyskezaqqznurkhrmewmqjvywnsdanpfhmcefptpryogtmamykeimnyjmyswbmipipktfqfznlofduixhpqwaiflwswfzblsfeychovcbdvvxotxrxizixlvhkuyxykipyohuipzdoicnkxbjealvosgqkwxzzimid...
output:
1
result:
ok single line: '1'
Test #57:
score: 0
Accepted
time: 34ms
memory: 4132kb
input:
memywwemmoyowmemyemwomoeewymyowoeeeoooeeomomyomyeewwmeommmmweeywoooyowyoyyoeyoywwmomwmooowewmemwmymmywywemmeeeyeeemwyommwywwomyyeoeomwyyyeomymwemoyweyewoyyyeeoooeomeywewyewwoyeymeoemeeywyomwyeweyeoeomyyyeewmoeeemmmymmeeywymweemmmoemymmwmommweweymmwemywyoyomywwymmooeyeoowmyoeeyeeoowmyweomwewoemwooweo...
output:
0
result:
ok single line: '0'
Test #58:
score: 0
Accepted
time: 498ms
memory: 4120kb
input:
memmwppwppmopmomwoommwpmpweeooowoewmeepeoppewwmmoomwpwepmmpwpepwwooppeeompoeoepmpomwopweoommwmwwoeepomppooemompmppoowoeopwwmwpmpewmoememomoppwoooeooowwmempwwomppmwommeemepoewoemepopemmemoooeepepopepeewwpwpmwmppmooemppeewweoewwpmoemppoeeepoemwpweopewpmoomomwoooeoomoeemwmpmwmppemmpweeopopopoepmmppwwoe...
output:
1
result:
ok single line: '1'
Test #59:
score: 0
Accepted
time: 167ms
memory: 4200kb
input:
mowwmmojjjeweemwjewjeomwooweomwjmmemoejjmmoejjwomeeooweoeojjmjjjjjwejwjjeeemojommwoomjjwejjwwemojojeoowmoomwoowwjjwwwmomeeoowwweejewoomjewoowwjeejeeewwoeojomwmwwjoeewmoeomjejweewwommjwmemmwmjoommmwojweemwjowjeeewwjwjjjjmomemmwooomjwmmjomojjwejmjoomemomeeejwwmejojejjweomejjwomeeeoejmoemeeomwwjwomojoo...
output:
1
result:
ok single line: '1'
Test #60:
score: 0
Accepted
time: 332ms
memory: 4268kb
input:
emomieimieoeomwmiiowwoweomeiooewewwewwmoeiwewmweweeiwwmmwoeiioiemiweoeweewowwmeiewiomwomeeoiwwimiwmoooowwwioiomiomiwmmooeiwweomwwwwiimeiomioiwowwoioemoemiiioeiewmeemiooimwoowewwiwowmieomoeiewoiommwieieoeoowimwmwomeimieimmomeemiimoeoeiiiwimiwimooooewmoooomemoemwieoiommoomeeiowmiiwiiieommmwmwmemieiwwi...
output:
1
result:
ok single line: '1'
Test #61:
score: 0
Accepted
time: 506ms
memory: 4276kb
input:
wcomooomocoemccoecmoooemceemcwmoecmcwommoocemoecmcwowmoemcmmcmwwwceomoecwmoooeceoocwommwemcewwmcmweeeecmwooowccwmwemcemememmecooewocemmwweeemomceemeeommmwomwemomccecoemwwmwceeocwwecoccmmooeccceweeewoocwowoowccooemoocwoomeeocmmceoeemocccmomomoeeewccwcwommemcmemooceewccmemccoewcwoewmcoowwcwmwwweooooom...
output:
1
result:
ok single line: '1'
Test #62:
score: 0
Accepted
time: 257ms
memory: 4204kb
input:
oozwomwmwwowzewwemwzemooozzezzmemommeeeoomwzozeeemzezmzewzezozomoooemzmmozwmwemwwmoezezowzezzmemzwemoooewowwwmzzmzomezmwzowzzzmwwozmzeemezmeemmmezzwmezemzmweezmoeezzwzmmweomwmoooezmwzezoewowmeezzwzzmomzmemzozzewmwozwoeomemmzwwoozwwwemzzoooeezzzewmemommwwoeeeezwezzmwwwezozwmmwooozzwwmwoezmezzmezeoeem...
output:
1
result:
ok single line: '1'
Test #63:
score: 0
Accepted
time: 221ms
memory: 4268kb
input:
ssoesemsseomsemmwesowowwswmeemmomwomssoswsssoeoowoemweemeemssomoosmswsewsoseewwwooswweeswwsssewswemsmesoseesmemoswooweoeesmmsmmmwemssweomsmweeewewwmoeosooswmsomwmmmeeeosmwsmsemommmmesoowwwwmwesewmemoooeeeweewoeswsoomsoeeseoowwsseswssmmwsmsemswmoemmooeooeeeomwweoewmmseseoemsomoomswseeoemwsseoesemoems...
output:
1
result:
ok single line: '1'
Test #64:
score: 0
Accepted
time: 505ms
memory: 4136kb
input:
mwwaowoewmmwemommmwmoaooemoaoawomwomwwaamoaoemeaawwaeoaeaamooaomomemeaoameeaaammeaaaomameaeaewwwomeaeamwoamaewawaoeamaemomoaamwmeaoaammwwoemoomwawmawmoaaamwwaeeweooaooawwaeeeamaeomammwmwoawoaoewamoaeweaaomwmaaemeaooewmeeooeoamwaweoaawmoaeoaoeamoemawaammeamoemwewoweeoeawewaooowaewawmmammwwoewmeaoewaw...
output:
1
result:
ok single line: '1'
Test #65:
score: 0
Accepted
time: 433ms
memory: 4140kb
input:
wwqqmwmmqqqwmweeemqqomoemoqqomqeomooqoqomqmemmemqmmomooemwmmemqeoqqommmqoqoqqwwqmoemwmomemmeeeemqwmmwwowwmeemqoqommmeqoeweemooeoqoqemqqemooqoqoqqqommeemweqeemqwoqmqqqoqmmwooeemqmmmweoeeeemwwoowooqmwooowwemoqmoqwemeeeemqqeqememqqqoomoomeqqwemeeqoweeemmmmqwwmeeomqwqeeeooewqmoqewqoemqmeqemoqqemeqoemooe...
output:
1
result:
ok single line: '1'
Test #66:
score: 0
Accepted
time: 670ms
memory: 4200kb
input:
eqemmmmmmqmqqqwweqoeqqoqqqoemmqqemqqeeeemmqeeemqmmqmmmmqmqqoemmmqemqqqwoemmmqemmqqeqqmmmmmqeemqmmmmmmqemmqemqmqeqmmmqeemmqmmmqqommmmmqqmqeeemqeeeeqmmqmqmmmqeeeeeqmmmmqqqmqqoqemmmmmmqqmqemqmqmqeemmmmqqommmqqmqeqeeqeqoooooemmmqemmmqmqmqeqqoemmmmmqeemmqmmmqmqmqmmmmmmqeqeeeeqoeqmqmmqmqeemmmqmqqeqoemqmmm...
output:
2
result:
ok single line: '2'
Test #67:
score: 0
Accepted
time: 607ms
memory: 4272kb
input:
mmmueuemmmmmuemmueemmuemuueuuueemmueemmumummuummuuemmmummumumueemmmumumueuemmmumuummmummmuuooeeumummueuueeumumummuueuemmuuuwmuumumummueemmmmueemmuemuuuueeummmmueumueuuuwmmueeeeummuueuuwooeeueeemummumueumuuuoeeuumuuommmmuemuummuuomuuemmmmuuouooumummueumuumuuuwommuumuemummummmuuemmmuemmuuooeuoummmmumu...
output:
2
result:
ok single line: '2'
Test #68:
score: 0
Accepted
time: 439ms
memory: 4148kb
input:
eeempppoppmppopmmmpemppoeemmmmppemmmmpmmpmmmmmmppoeeeeepommmpemppoopwmppopwepmmpmmmmmmmpeemmppompemmppepmmmpppoemmmpmpemmpepommmmpmpmmppopmmmpemmppmmpemmpmmmpppompmppeeemmpmpepmmmpmmpppemppeepepoeepoompempppompmpppoopwoopopmpeepppoepmpmmppmpmpeppmppopemmpmppmmmmpempmmpempmmmppommmpmpepmpppwpwoempemp...
output:
2
result:
ok single line: '2'
Test #69:
score: 0
Accepted
time: 427ms
memory: 4192kb
input:
wwemmkmmkmmmmkmmmkmmmmmkekoeekeekmmmmkmmmmkmkemmkeeeemkkmkkekekommkemkmmmkkmmmkmkekemmkkmkmmkkoommmmkkeekemmmmkekemkemmkmkkeekoeemkeekeekommkeemkeemmmmkmkkooookekkwmkeekoooekkkkwommkkmmmkmkmkmmkmmmmmkmkkekemmkemkeekemkkooekkmkekmkeeeemmkkeekmkkkmkekemkmmkmmkeemmmkkmmmkkkkkekkwwmkekemmmkkkooomkemkmmk...
output:
2
result:
ok single line: '2'
Test #70:
score: 0
Accepted
time: 581ms
memory: 4272kb
input:
wromrrmmrmremrmrmmmmrrmmmrrmmrmrermremrrrrwreeemreermmrmrrreerrwmmrmmmrreemrmrremmmrmrrmrmrmmmmrremrreererormrerooemrmmmmreeemrroommrmmmmmmmmrreemrrrwormrrorooremmmmreeemmrrrmreeeeeroooomremreerermreerrorommrmrmmmrrmrmmmrreemrmrmrmrermmmmreemrmmmmrrmmrrmrmmrmmmreeeererormreemmrmmmreemrroemmmmrmrerrw...
output:
2
result:
ok single line: '2'
Test #71:
score: 0
Accepted
time: 595ms
memory: 4132kb
input:
mppmmpmmpmmmmmpempepppompppppoooompmmmmpmmpppempmppoeemmpmmpepoemmmpppommppopwmpppmpemmpmmpeemmppoeppoemppmpeemmpmmmppmpmpmpepopmpmmpmpemppoopmmmmmppopppooppepooommpmpeemmmmppopooommpmmmmppmpppwooemppmmmppmpppwoeppppeeemppepoompeepmpmpeepepmmmmmpppemmpmmmmppeeepoemmmmmpmppeemppompmmmmmpemmmmmmpepepe...
output:
2
result:
ok single line: '2'
Test #72:
score: 0
Accepted
time: 621ms
memory: 4132kb
input:
ooeemmfefffmmmmfeeemfeffoommffooefeemffoemfmmmffeefeemmmfeemmmfmmffmfmffofoemmmmfmffemmfmfmmfmffemmffffemmmmmfefomffofwefmffmffmfefmmmmfffemffeemmmmmfmmmfeemmfeeffwmffomffommmfmfffemfmfmfffoemfmfefmmmmmfmmfmfmfeeemfmfmmmffmffmfmmmfmfmmmmfemmfffmfmmffofweemfffmmmmmmffeefeemfmfmfmfmmfemmfmmfefemfemffm...
output:
2
result:
ok single line: '2'
Test #73:
score: 0
Accepted
time: 704ms
memory: 4140kb
input:
doemmmmmmdemdddwodmmdemmmmdddwemddoededddommmmdeeemmmmdmdmmddmdeedemmdmddmddmmdddddmmdedmdmmddodwoodoemmdmdeddwooodedomdmmdedmdeedmdddmdmmdmmdmdddmmmdmmmdmmmdmmmdmdedddddwmddedodwommmdeeddoeddoeemmmmmddoooemmdemdededmddmdddmdemmmdmmdmdedeemmddeeeddmdmdddooemmddemdemmdmdedddooemddedoemmdededeedoemmmm...
output:
2
result:
ok single line: '2'
Test #74:
score: 0
Accepted
time: 526ms
memory: 4084kb
input:
wwxoxxoxemmxxemmxxxooxexxwwwwxooommxexxmxmxexoxwemxxoxwoexooxxexmmmxxmxxmxxmmxxmmmmmmxxexemmxeemmmxmmxexemmmmxxxoxmmmmmmxxxeemxeemmxmxxmxxmxexxxwxemmxxemxxeexxmmmxmxmmxemmxemxexemxxooeeeemmmmmxexexeeeeexexemmxxoxeexommmmmmxemmmxeexmmmmxxmmxxxommxxxwomxmxemmxemxmxxooxxommmxemmmmmxemxemxxoexoxxemxeemm...
output:
2
result:
ok single line: '2'
Test #75:
score: 0
Accepted
time: 626ms
memory: 4200kb
input:
mmbbommmbembmmmmbeembbbmmmbbommmmbmbbommmmmmmmbmmbebebombbooembmbeembembeeemmbeboembemmbbmmmmmmbeebeeembboembbommbeeboemmmbmbmbembmmmmmmbemmmbebmmmbbembemmbmmmbboooeeeemmbbeeembmmbmbmbmbemmmmbmbembbbwbwembbmmbmbemmmmmmbmbebebbmbmmbebmbmmbebbmbeembbebebbwwooeebobembembbmmbbmbebboobbemmmbeeemmmbmbeebe...
output:
2
result:
ok single line: '2'
Test #76:
score: 0
Accepted
time: 603ms
memory: 4136kb
input:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...
output:
3
result:
ok single line: '3'
Test #77:
score: 0
Accepted
time: 549ms
memory: 4208kb
input:
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
output:
3
result:
ok single line: '3'
Test #78:
score: 0
Accepted
time: 699ms
memory: 4136kb
input:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...
output:
3
result:
ok single line: '3'
Test #79:
score: 0
Accepted
time: 635ms
memory: 4116kb
input:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...
output:
3
result:
ok single line: '3'
Test #80:
score: 0
Accepted
time: 719ms
memory: 4316kb
input:
vpnckjbpslqhjpcfkphkjldgdiltprzqitrjflpbyvpuhdzztlphlzupfsnnxlyjkptynyrjhiviygfisfipsdyjfuztkxqhbtcthdtjkbaybqhnaciiqyryjfxvtqujiyduhqnjvfhrqucifvhjffujjurccxnfbbkckxjiptfpblgyzggvniurhduzxqbxvjpysyqrqkbgfxfgtrfcafyghpsyjnnptkdjdcyasbinghgafjalnfidsthtnxiguhfrrbclbpiyakifcjvtlhjudvapiqnrgjyfkvldustx...
output:
4
result:
ok single line: '4'
Test #81:
score: 0
Accepted
time: 11ms
memory: 4124kb
input:
tvcyghdtxzxheycoxqquifuibnazvwchudopddtidxchhvaxyakalthhlowmiubwyynjfpgltknxwbvemslsfntjmzhpdleriaaugzlsgnqszrtkawnliolmzpdntfuopeeozwmqchqtetnzgxixhkcbcqfdgxsmoozykpkssvxzzudnhsmfctcneyzakisueercpdnwjulmincofxqnzgphqzubgubuxmyotwsddrlihivuidrutkpttrfvynntriwrqxgyuqohitvnuxxlekjagpoylwidygrtdoflmuci...
output:
0
result:
ok single line: '0'