QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#59506 | #3491. Meow Factor 2 | yahoco | AC ✓ | 139ms | 7744kb | Python2 | 292b | 2022-10-29 19:36:15 | 2022-10-29 19:36:17 |
Judging History
answer
import re
S = raw_input()
print min([i for (i, P) in enumerate(['meow',
'moew|meo|eow|me.?o?w|m.?ow',
'me|eo|ow|m.?o|m.?.?w|e.?w',
'm|e|o|w']) if re.search(P, S)] + [4])
詳細信息
Test #1:
score: 100
Accepted
time: 8ms
memory: 6976kb
input:
pastimeofwhimsy
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 14ms
memory: 6780kb
input:
yarn
output:
4
result:
ok single line: '4'
Test #3:
score: 0
Accepted
time: 2ms
memory: 6860kb
input:
meow
output:
0
result:
ok single line: '0'
Test #4:
score: 0
Accepted
time: 5ms
memory: 6756kb
input:
z
output:
4
result:
ok single line: '4'
Test #5:
score: 0
Accepted
time: 11ms
memory: 6756kb
input:
o
output:
3
result:
ok single line: '3'
Test #6:
score: 0
Accepted
time: 18ms
memory: 7612kb
input:
meomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeomeo...
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 16ms
memory: 6764kb
input:
wtmeowmomeomm
output:
0
result:
ok single line: '0'
Test #8:
score: 0
Accepted
time: 14ms
memory: 6756kb
input:
ofmfwemfemmfwfeow
output:
1
result:
ok single line: '1'
Test #9:
score: 0
Accepted
time: 7ms
memory: 6824kb
input:
eeememeemoweeezwwm
output:
1
result:
ok single line: '1'
Test #10:
score: 0
Accepted
time: 7ms
memory: 6824kb
input:
jwmoowwjwemeeejjew
output:
1
result:
ok single line: '1'
Test #11:
score: 0
Accepted
time: 13ms
memory: 6764kb
input:
eeoeoleelomewm
output:
1
result:
ok single line: '1'
Test #12:
score: 0
Accepted
time: 7ms
memory: 6824kb
input:
meqowoqqmw
output:
1
result:
ok single line: '1'
Test #13:
score: 0
Accepted
time: 6ms
memory: 6900kb
input:
wmooggememwggewwm
output:
1
result:
ok single line: '1'
Test #14:
score: 0
Accepted
time: 3ms
memory: 6856kb
input:
omemuuuemoewmuumom
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 2ms
memory: 6780kb
input:
ooecoeoeecwomeoome
output:
1
result:
ok single line: '1'
Test #16:
score: 0
Accepted
time: 8ms
memory: 6784kb
input:
oegemggowomgg
output:
2
result:
ok single line: '2'
Test #17:
score: 0
Accepted
time: 10ms
memory: 6776kb
input:
mmvevvomvvmmmmvvoewv
output:
2
result:
ok single line: '2'
Test #18:
score: 0
Accepted
time: 23ms
memory: 6696kb
input:
ececwceemcmccccc
output:
2
result:
ok single line: '2'
Test #19:
score: 0
Accepted
time: 9ms
memory: 6712kb
input:
eoiiiiemii
output:
2
result:
ok single line: '2'
Test #20:
score: 0
Accepted
time: 5ms
memory: 6832kb
input:
omlllollmwlo
output:
2
result:
ok single line: '2'
Test #21:
score: 0
Accepted
time: 2ms
memory: 6788kb
input:
eeemmmlmleeemlwlmll
output:
2
result:
ok single line: '2'
Test #22:
score: 0
Accepted
time: 12ms
memory: 6760kb
input:
tetooomoettmteemt
output:
2
result:
ok single line: '2'
Test #23:
score: 0
Accepted
time: 0ms
memory: 6776kb
input:
mmuuwommmumu
output:
2
result:
ok single line: '2'
Test #24:
score: 0
Accepted
time: 0ms
memory: 6728kb
input:
mmmqqmqoqmmmqmmmqqoq
output:
2
result:
ok single line: '2'
Test #25:
score: 0
Accepted
time: 34ms
memory: 6748kb
input:
mgmmgeeggooemeegoogw
output:
2
result:
ok single line: '2'
Test #26:
score: 0
Accepted
time: 16ms
memory: 6796kb
input:
ffffffwffffffff
output:
3
result:
ok single line: '3'
Test #27:
score: 0
Accepted
time: 6ms
memory: 6748kb
input:
vvvvvvvvvovvvv
output:
3
result:
ok single line: '3'
Test #28:
score: 0
Accepted
time: 8ms
memory: 6756kb
input:
yyyeyyyyyyyyyyyy
output:
3
result:
ok single line: '3'
Test #29:
score: 0
Accepted
time: 1ms
memory: 6800kb
input:
zzzzzzzzzzzzzmzzzzz
output:
3
result:
ok single line: '3'
Test #30:
score: 0
Accepted
time: 0ms
memory: 6756kb
input:
vdcgdraaug
output:
4
result:
ok single line: '4'
Test #31:
score: 0
Accepted
time: 4ms
memory: 6972kb
input:
aesksjtkokyet
output:
3
result:
ok single line: '3'
Test #32:
score: 0
Accepted
time: 5ms
memory: 6780kb
input:
oowobmmwmewoeboowmwbwwweoeeoomowembmbmmwboooemewwbwbweoewembewobbbbwwmbbemweemboomwmweoeewwommmwwewooewmoewowmeomeemeemwmewobbmbmmbboowommebwbbmbeooeeeemomobewbbemmwwwmwowwobowwbwmmoeemoeombmbbwooowbobweommmbewomeooomeeoeowwmmwewwbbeomebweobeewbwbwwowoeemeboemmbmwbbmewmembwbmooweoewooebobebboeeobbbm...
output:
0
result:
ok single line: '0'
Test #33:
score: 0
Accepted
time: 7ms
memory: 6788kb
input:
wnmnwowenwwmnonmmmmeennnewomemnmwwwnonmmwoowowenonwemmooewewwnnmeeoeemeeenmeeoooemnoneemonwoononwweoomomoenwmnewenwmoommeemnweenowenewnowwwmonwwowomwwnmwmnmmemonnwmmeeoemneewwwwwmeeneeeweenwemwennnneeweoeoeonwmwoewowmomwmononnomnewnmoonnmnmnneonnnnmomnenoonnommmoemwwowmnnnomwmmeeeewnewmwwmmenemnewem...
output:
1
result:
ok single line: '1'
Test #34:
score: 0
Accepted
time: 8ms
memory: 6732kb
input:
owoowmoemoweoeuoewuwmwwummooewwmwwmuommweuwmuemwomoeooeemoeomueoemuuouwoeoemeumuuumoeueomeeooowmuwemoeeuuumwuwmoeomuwmuuoweummmumooueee
output:
1
result:
ok single line: '1'
Test #35:
score: 0
Accepted
time: 3ms
memory: 6904kb
input:
eememmoooteeemmwtwmtemeeoetmooeotmmttmtewwoetmmtomttemomotemwmemetmweeoomemmtotwtweootoemeetwmtottmwettmtetwettmotwtmwtoomttoeomeeomtemwttemotwtttetememmtwtwmtwtweomemttettmwtteotmwetmtmwwtoeememmettoeomotwwmmteetmmetmoomtmtmmemeeemotmeemmmemteeomomteoeoeemwwmetoottoototomtwottwwmwmtttmototwtettmeee...
output:
1
result:
ok single line: '1'
Test #36:
score: 0
Accepted
time: 14ms
memory: 6836kb
input:
weemmooomeeeeewoiiimwoiwwiweiieoeiieiomimoimiommwwiomoiwwiwmoemmwooeeewomwoowmimwemwoewoomeimwiwweioommooiewieoomeimmwiiiiooemmwoemwmwieoeooeeomeeoimwioeeomwiimoeimmmomoooiooioweewweooeoiiwmoomiwiwoeeomemeieoomiewoiieomwewioeioeioowommmwememeiooemimmomwmomemioomwwemoiimiwwimweweooeemeioommomwomomwii...
output:
1
result:
ok single line: '1'
Test #37:
score: 0
Accepted
time: 9ms
memory: 6780kb
input:
maamomwewowaeewmmaewoammeeeeweoaeoaommwwawmmmmaomememaeeewmamwaeoaoeoawmoooweeoaoeeemaaeomaaomoeemeemweeeoewaawewaoameemmmommeemoeewaoweaamwmomaaamwewowmooaoweewmaoewmaaemwememmmwooemmmwaawmwwwmeaaomwemaooewmmeeaaommeeemwemmawewwoeooowewmommeaowmaeomoawoweewmaeoamamoaoewaemmeaamwomoemwomweoammoemaoe...
output:
1
result:
ok single line: '1'
Test #38:
score: 0
Accepted
time: 4ms
memory: 6752kb
input:
sesseweeeeoomessmswmmmwoosmwoowmemwoooemwoseoooesowmomwsswomsmosmwwemesemswwomommsswemosemesmmmomosewowsemmsmosweoewewwmmeeoewomsmsoswmswsosseemwewwwomemosmmmoeemmmswsswwmsmwsossweoswseoswemmweemseooswmomwewswmmoeosmwswewsoosooswwomssoosewowsmosmommemswemwwmmwoomoeososmmwmmswowsmosmmwosmwmmmemosmoes...
output:
1
result:
ok single line: '1'
Test #39:
score: 0
Accepted
time: 6ms
memory: 6892kb
input:
mwoecemoomomeccemceeeeccmwocceccocmomeccmcwmocoowwmmemcceoommeccowcoowemecmwoocwowmoocmmecmmeceeocowmmwoccwewwmocmoeoecmmemcwcooowmomccoeeccowewmcecmemmmwwmwwmmwommemcecmemcccemoeomomemecocmeeoocmeeeemcmmmwwomemeecooecmmcomcomommoomccmceocmcwewoewwoowooewmemmmmwcewmwmmwwwewoeecocmoceeeomocewomwomwww...
output:
1
result:
ok single line: '1'
Test #40:
score: 0
Accepted
time: 20ms
memory: 6716kb
input:
olewmemeeelewlwmellwwwwlwewwmmwmoleemmlemllmmomeeeemlemwoloolmmwwllmmwllmememlooweleomeemwoelooolwemmmllmelmmwwwlmwwwoeooewlmeloeolwomememlemoommwoewwlmmeemwmelllolwooeewwwwoeeolemwlmmlooeoooeeooolollmmwmwlmelelwomommeleomomllelomelooolwowwwoooolewwoeeollwwlwowwomomwomomolmlmmwewlolwomlmooleemmmmeme...
output:
1
result:
ok single line: '1'
Test #41:
score: 0
Accepted
time: 20ms
memory: 6632kb
input:
mmiemimiimiiiweieioeeeieiemmmiieeiemieeieeemimmmmiiemmmiemimiiommmmmmiiiemiemiiemieeiimieiomieeieeimmieeiimmmmmiimmmiimmmmimmiioeeiiiiwemmimieiemiiimmiemiiiiiwemmimimmmmiieeimmmiieeiiemmmimiiommiieioiwomieiow
output:
2
result:
ok single line: '2'
Test #42:
score: 0
Accepted
time: 9ms
memory: 6904kb
input:
emmmmmmrmrmrmrrmmrmmmrmrermrreemremrreemmrmmrmrmrmmmmmremremrmrrormreeroorommmmmremrerrrerroemmrmmrroooorrworwwwwerrrorwroemrroeemremrrmmrmmmmmmmrmrmrmmmrmmrrremmmmreemrrermrmremmreemmmmrreweerommmrrermrrmrreermrmmmrmmmmmmrrmremrmmmmrrmmmmmrmrmrmmrerrmmmmremrrrwmmremrrrwmmrmmremrmrereemrmrrmrrremrrr...
output:
2
result:
ok single line: '2'
Test #43:
score: 0
Accepted
time: 14ms
memory: 6760kb
input:
embemmmmmbeeeembeemmbmmmmbbooembbbommmbeembbbommbbmbembbbwboboebebembeboombeemmmmbmmbmmbbmmmmbmbmbeemmbbommbemmmmbeebmmmmmbmmbbbobwbwombmbemmmbmbboebeboeembebombembmmmbbbwebmbmmbmbbeebommbbmbbemmbbooemmmmmbbembbmbboemmbemmbbembbmbbombemmbbmmbbommbbemmbbmbmmmmmmbebeembeebbeeembeeebwwwooobmmmbbbmmbmmb...
output:
2
result:
ok single line: '2'
Test #44:
score: 0
Accepted
time: 5ms
memory: 6756kb
input:
wmffefofofofwmfmmmfmmmmfeemffmmmmmmfmfmfeeefefmmmmmmfmmfemmfefeeeeffwfoofomffffmfmffefommmfemmfeeffwwmmmffoemffmmfmfmfmmffmfeefoeeefoemfmfmmfeeefommmmmfeffwoommffefmfmfeffommfeeefemmfeemmfeefmmffoeefeeemmfmfefmfmfmmmffeefoofofmmfefomffeemfffmfmffeefeeffomfmfmmfffmmmfemmfmmfemmfeeemfmmmfmmfeefommfmfe...
output:
2
result:
ok single line: '2'
Test #45:
score: 0
Accepted
time: 10ms
memory: 6788kb
input:
voveeevvmmvemvevevomveevoovvwwwmmvmvvvevevemveeeevvvevevmmvvvemvemmveevmvvvemvmvveeemmvvovvwwvveevveevmvvemvevovoomvmmvmmvvveevvmmmvemmmmvvemmvmvemvmmvmmvvvmmvvoovwvmmvmmvvveeemvvvvvoemvmvvvvwvmmvmmmvmvevoommvmvvomvmvvmmvevmvvvvvevmmvveveevvoeemvmveveemmvvvoomvmvmvemmvmvevveeemmmmvmmvmmvemmvmmvveevo...
output:
2
result:
ok single line: '2'
Test #46:
score: 0
Accepted
time: 16ms
memory: 6752kb
input:
eneeeeeeemneneeenmnmnnnnemnmmmneneneeemmnnmnnenmmmnmmmnemnmmmmmmnnoeemmmmnneneeeeeemmmneemnmnnnemnnoemnmnmmmmmmmnneemnmmnmnmnmmnemnnomnnnnennenonwenoenennmnenonenommmmnmnnmmnmnnoonemmmmmmnnnmmmnenemnemnnmmnmnemmmnneeneneeemmmmmmmmnnemmmmmnemmnenomnnmnennwonemneennwwonnooomnnnweeemneemnennenooonwwemn...
output:
2
result:
ok single line: '2'
Test #47:
score: 0
Accepted
time: 4ms
memory: 6772kb
input:
emmmfefmmfemfmmmfmfmmmmfemmmmfmfmmfmfeeemmmfemmmmmfemmfmffmmmmfmmfmffoemmmmmmffefeefmffmmffemfefofmmmfefeefeeeemmmmmffffwoeeffmmffmmmmfeeeefmmmmmmfmfmmffefeemmmmmmfeefmfmmmmfefomffffefmfeeffwooemmmffomfefooofoffwfwwwwwfmmmffffmffefmmmfmfeeffoomfemffoomfmmfefmfffeefmfemfefffmmfefmfeemmffmfemmmmmmmmmm...
output:
2
result:
ok single line: '2'
Test #48:
score: 0
Accepted
time: 2ms
memory: 6764kb
input:
myywyoyyyyyemyeyoooommyemmyyemmmmyymyymmmymyeemyymyyeeeemmmmmyeyoomymymyeyyywmyeymmymmyeemmmmmmmymyyoommyyywyooyeyeyeeymmmmmmyyeemmmmmymmyeeeymmyeyymmmmmmyyooemmmyyooemymymymymyyoemymymmyeeemyeymmmymymyymmyemmmyeemmmyymyyoeeyyemyyeyeemmyemyyoooomymyemmmmyyommyyoeyyoyoomymmymymmyyoemmyeymmymyymmmymyy...
output:
2
result:
ok single line: '2'
Test #49:
score: 0
Accepted
time: 8ms
memory: 6708kb
input:
swemmmsmmmmmsesoosomssmseemsmmssommmmmssswooeesooeeessweemsesoeseessemmssooseemmsmmmsmsmmsmsmmmssoomssoosswseeeeeemsemsmmsmmmsessmssoesmsmsmsesmssmseemmmsemmseseeemsmsmsmmsmsmmsmsssmmmsmssesomseemssmsmsmmseeesoommmmmsmssmssmssosoeeesmmmssemmsmmmsesswmmsesmmmseesmseesoeemsmmsemsmsmmssemmssmmmmsmsmsms...
output:
2
result:
ok single line: '2'
Test #50:
score: 0
Accepted
time: 1ms
memory: 6784kb
input:
whemmhhehmmmmhmhehohweemmhhohhohehoemhmmhheeemmmmheehmmmhhoehohohmhhhmmheehmhmmhmhehemmhhmmhehommmhhmmhheemmmhhommhmmmhmhhohemmhhmhmmhhmhemhhemheehhehmhhhemheehhwwhmhhoehoemhhheemmheeehhemhheehohooheeehmmhmmmhhoeemhmmhehohwoeeemmhhoemmhhmmmmheehoomhmhemmhhehoemmheemmhmmhemmhmmhhohmmmheehoommmhmmmhmh...
output:
2
result:
ok single line: '2'
Test #51:
score: 0
Accepted
time: 21ms
memory: 6748kb
input:
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccwcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
output:
3
result:
ok single line: '3'
Test #52:
score: 0
Accepted
time: 11ms
memory: 6776kb
input:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaoaaaaaaaaaaaaaaaaaaaaaa...
output:
3
result:
ok single line: '3'
Test #53:
score: 0
Accepted
time: 13ms
memory: 6764kb
input:
yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...
output:
3
result:
ok single line: '3'
Test #54:
score: 0
Accepted
time: 9ms
memory: 6828kb
input:
jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj...
output:
3
result:
ok single line: '3'
Test #55:
score: 0
Accepted
time: 12ms
memory: 6764kb
input:
igjsdrpavbkrgjyyuyvgssbbuynzbpucfcgtbdydqljjaqkrbtxgfrkiudiyubxsxpkqrsppsduqduvrchpygccabuzsjpfcvkdxvvakxdqnhhqnzjjhbnlyqgjxiqckzspzzfdcrxcbhdcjxtxgfgsacxxyjylbguadgvtggkuulauqtrqrpnrykjlbnxxlcardhsavsxjbsutslyhlzifixkuzqfdzkstspifpcpunfjfrdvpkaxtadxiyugnqpbbkpfbfgssiuzzalapyxprqujulnsktgyuyiqvpthdx...
output:
4
result:
ok single line: '4'
Test #56:
score: 0
Accepted
time: 8ms
memory: 6728kb
input:
kkyyilayitjxlrftnsgpusvarrjvqvtiobvydmbzhqwhjxdmqzdxfgolcowmmwvwrajpqfgtyzyiyhjdbbrbsuziswizntnoywmgjsebpczkyltzyfvexjomalleimuzepujvxowjbyyskezaqqznurkhrmewmqjvywnsdanpfhmcefptpryogtmamykeimnyjmyswbmipipktfqfznlofduixhpqwaiflwswfzblsfeychovcbdvvxotxrxizixlvhkuyxykipyohuipzdoicnkxbjealvosgqkwxzzimid...
output:
1
result:
ok single line: '1'
Test #57:
score: 0
Accepted
time: 15ms
memory: 7600kb
input:
memywwemmoyowmemyemwomoeewymyowoeeeoooeeomomyomyeewwmeommmmweeywoooyowyoyyoeyoywwmomwmooowewmemwmymmywywemmeeeyeeemwyommwywwomyyeoeomwyyyeomymwemoyweyewoyyyeeoooeomeywewyewwoyeymeoemeeywyomwyeweyeoeomyyyeewmoeeemmmymmeeywymweemmmoemymmwmommweweymmwemywyoyomywwymmooeyeoowmyoeeyeeoowmyweomwewoemwooweo...
output:
0
result:
ok single line: '0'
Test #58:
score: 0
Accepted
time: 44ms
memory: 7612kb
input:
memmwppwppmopmomwoommwpmpweeooowoewmeepeoppewwmmoomwpwepmmpwpepwwooppeeompoeoepmpomwopweoommwmwwoeepomppooemompmppoowoeopwwmwpmpewmoememomoppwoooeooowwmempwwomppmwommeemepoewoemepopemmemoooeepepopepeewwpwpmwmppmooemppeewweoewwpmoemppoeeepoemwpweopewpmoomomwoooeoomoeemwmpmwmppemmpweeopopopoepmmppwwoe...
output:
1
result:
ok single line: '1'
Test #59:
score: 0
Accepted
time: 23ms
memory: 7516kb
input:
mowwmmojjjeweemwjewjeomwooweomwjmmemoejjmmoejjwomeeooweoeojjmjjjjjwejwjjeeemojommwoomjjwejjwwemojojeoowmoomwoowwjjwwwmomeeoowwweejewoomjewoowwjeejeeewwoeojomwmwwjoeewmoeomjejweewwommjwmemmwmjoommmwojweemwjowjeeewwjwjjjjmomemmwooomjwmmjomojjwejmjoomemomeeejwwmejojejjweomejjwomeeeoejmoemeeomwwjwomojoo...
output:
1
result:
ok single line: '1'
Test #60:
score: 0
Accepted
time: 43ms
memory: 7564kb
input:
emomieimieoeomwmiiowwoweomeiooewewwewwmoeiwewmweweeiwwmmwoeiioiemiweoeweewowwmeiewiomwomeeoiwwimiwmoooowwwioiomiomiwmmooeiwweomwwwwiimeiomioiwowwoioemoemiiioeiewmeemiooimwoowewwiwowmieomoeiewoiommwieieoeoowimwmwomeimieimmomeemiimoeoeiiiwimiwimooooewmoooomemoemwieoiommoomeeiowmiiwiiieommmwmwmemieiwwi...
output:
1
result:
ok single line: '1'
Test #61:
score: 0
Accepted
time: 45ms
memory: 7660kb
input:
wcomooomocoemccoecmoooemceemcwmoecmcwommoocemoecmcwowmoemcmmcmwwwceomoecwmoooeceoocwommwemcewwmcmweeeecmwooowccwmwemcemememmecooewocemmwweeemomceemeeommmwomwemomccecoemwwmwceeocwwecoccmmooeccceweeewoocwowoowccooemoocwoomeeocmmceoeemocccmomomoeeewccwcwommemcmemooceewccmemccoewcwoewmcoowwcwmwwweooooom...
output:
1
result:
ok single line: '1'
Test #62:
score: 0
Accepted
time: 26ms
memory: 7696kb
input:
oozwomwmwwowzewwemwzemooozzezzmemommeeeoomwzozeeemzezmzewzezozomoooemzmmozwmwemwwmoezezowzezzmemzwemoooewowwwmzzmzomezmwzowzzzmwwozmzeemezmeemmmezzwmezemzmweezmoeezzwzmmweomwmoooezmwzezoewowmeezzwzzmomzmemzozzewmwozwoeomemmzwwoozwwwemzzoooeezzzewmemommwwoeeeezwezzmwwwezozwmmwooozzwwmwoezmezzmezeoeem...
output:
1
result:
ok single line: '1'
Test #63:
score: 0
Accepted
time: 21ms
memory: 7732kb
input:
ssoesemsseomsemmwesowowwswmeemmomwomssoswsssoeoowoemweemeemssomoosmswsewsoseewwwooswweeswwsssewswemsmesoseesmemoswooweoeesmmsmmmwemssweomsmweeewewwmoeosooswmsomwmmmeeeosmwsmsemommmmesoowwwwmwesewmemoooeeeweewoeswsoomsoeeseoowwsseswssmmwsmsemswmoemmooeooeeeomwweoewmmseseoemsomoomswseeoemwsseoesemoems...
output:
1
result:
ok single line: '1'
Test #64:
score: 0
Accepted
time: 44ms
memory: 7516kb
input:
mwwaowoewmmwemommmwmoaooemoaoawomwomwwaamoaoemeaawwaeoaeaamooaomomemeaoameeaaammeaaaomameaeaewwwomeaeamwoamaewawaoeamaemomoaamwmeaoaammwwoemoomwawmawmoaaamwwaeeweooaooawwaeeeamaeomammwmwoawoaoewamoaeweaaomwmaaemeaooewmeeooeoamwaweoaawmoaeoaoeamoemawaammeamoemwewoweeoeawewaooowaewawmmammwwoewmeaoewaw...
output:
1
result:
ok single line: '1'
Test #65:
score: 0
Accepted
time: 27ms
memory: 7452kb
input:
wwqqmwmmqqqwmweeemqqomoemoqqomqeomooqoqomqmemmemqmmomooemwmmemqeoqqommmqoqoqqwwqmoemwmomemmeeeemqwmmwwowwmeemqoqommmeqoeweemooeoqoqemqqemooqoqoqqqommeemweqeemqwoqmqqqoqmmwooeemqmmmweoeeeemwwoowooqmwooowwemoqmoqwemeeeemqqeqememqqqoomoomeqqwemeeqoweeemmmmqwwmeeomqwqeeeooewqmoqewqoemqmeqemoqqemeqoemooe...
output:
1
result:
ok single line: '1'
Test #66:
score: 0
Accepted
time: 90ms
memory: 7604kb
input:
eqemmmmmmqmqqqwweqoeqqoqqqoemmqqemqqeeeemmqeeemqmmqmmmmqmqqoemmmqemqqqwoemmmqemmqqeqqmmmmmqeemqmmmmmmqemmqemqmqeqmmmqeemmqmmmqqommmmmqqmqeeemqeeeeqmmqmqmmmqeeeeeqmmmmqqqmqqoqemmmmmmqqmqemqmqmqeemmmmqqommmqqmqeqeeqeqoooooemmmqemmmqmqmqeqqoemmmmmqeemmqmmmqmqmqmmmmmmqeqeeeeqoeqmqmmqmqeemmmqmqqeqoemqmmm...
output:
2
result:
ok single line: '2'
Test #67:
score: 0
Accepted
time: 139ms
memory: 7696kb
input:
mmmueuemmmmmuemmueemmuemuueuuueemmueemmumummuummuuemmmummumumueemmmumumueuemmmumuummmummmuuooeeumummueuueeumumummuueuemmuuuwmuumumummueemmmmueemmuemuuuueeummmmueumueuuuwmmueeeeummuueuuwooeeueeemummumueumuuuoeeuumuuommmmuemuummuuomuuemmmmuuouooumummueumuumuuuwommuumuemummummmuuemmmuemmuuooeuoummmmumu...
output:
2
result:
ok single line: '2'
Test #68:
score: 0
Accepted
time: 69ms
memory: 7560kb
input:
eeempppoppmppopmmmpemppoeemmmmppemmmmpmmpmmmmmmppoeeeeepommmpemppoopwmppopwepmmpmmmmmmmpeemmppompemmppepmmmpppoemmmpmpemmpepommmmpmpmmppopmmmpemmppmmpemmpmmmpppompmppeeemmpmpepmmmpmmpppemppeepepoeepoompempppompmpppoopwoopopmpeepppoepmpmmppmpmpeppmppopemmpmppmmmmpempmmpempmmmppommmpmpepmpppwpwoempemp...
output:
2
result:
ok single line: '2'
Test #69:
score: 0
Accepted
time: 62ms
memory: 7624kb
input:
wwemmkmmkmmmmkmmmkmmmmmkekoeekeekmmmmkmmmmkmkemmkeeeemkkmkkekekommkemkmmmkkmmmkmkekemmkkmkmmkkoommmmkkeekemmmmkekemkemmkmkkeekoeemkeekeekommkeemkeemmmmkmkkooookekkwmkeekoooekkkkwommkkmmmkmkmkmmkmmmmmkmkkekemmkemkeekemkkooekkmkekmkeeeemmkkeekmkkkmkekemkmmkmmkeemmmkkmmmkkkkkekkwwmkekemmmkkkooomkemkmmk...
output:
2
result:
ok single line: '2'
Test #70:
score: 0
Accepted
time: 86ms
memory: 7636kb
input:
wromrrmmrmremrmrmmmmrrmmmrrmmrmrermremrrrrwreeemreermmrmrrreerrwmmrmmmrreemrmrremmmrmrrmrmrmmmmrremrreererormrerooemrmmmmreeemrroommrmmmmmmmmrreemrrrwormrrorooremmmmreeemmrrrmreeeeeroooomremreerermreerrorommrmrmmmrrmrmmmrreemrmrmrmrermmmmreemrmmmmrrmmrrmrmmrmmmreeeererormreemmrmmmreemrroemmmmrmrerrw...
output:
2
result:
ok single line: '2'
Test #71:
score: 0
Accepted
time: 82ms
memory: 7444kb
input:
mppmmpmmpmmmmmpempepppompppppoooompmmmmpmmpppempmppoeemmpmmpepoemmmpppommppopwmpppmpemmpmmpeemmppoeppoemppmpeemmpmmmppmpmpmpepopmpmmpmpemppoopmmmmmppopppooppepooommpmpeemmmmppopooommpmmmmppmpppwooemppmmmppmpppwoeppppeeemppepoompeepmpmpeepepmmmmmpppemmpmmmmppeeepoemmmmmpmppeemppompmmmmmpemmmmmmpepepe...
output:
2
result:
ok single line: '2'
Test #72:
score: 0
Accepted
time: 89ms
memory: 7716kb
input:
ooeemmfefffmmmmfeeemfeffoommffooefeemffoemfmmmffeefeemmmfeemmmfmmffmfmffofoemmmmfmffemmfmfmmfmffemmffffemmmmmfefomffofwefmffmffmfefmmmmfffemffeemmmmmfmmmfeemmfeeffwmffomffommmfmfffemfmfmfffoemfmfefmmmmmfmmfmfmfeeemfmfmmmffmffmfmmmfmfmmmmfemmfffmfmmffofweemfffmmmmmmffeefeemfmfmfmfmmfemmfmmfefemfemffm...
output:
2
result:
ok single line: '2'
Test #73:
score: 0
Accepted
time: 104ms
memory: 7632kb
input:
doemmmmmmdemdddwodmmdemmmmdddwemddoededddommmmdeeemmmmdmdmmddmdeedemmdmddmddmmdddddmmdedmdmmddodwoodoemmdmdeddwooodedomdmmdedmdeedmdddmdmmdmmdmdddmmmdmmmdmmmdmmmdmdedddddwmddedodwommmdeeddoeddoeemmmmmddoooemmdemdededmddmdddmdemmmdmmdmdedeemmddeeeddmdmdddooemmddemdemmdmdedddooemddedoemmdededeedoemmmm...
output:
2
result:
ok single line: '2'
Test #74:
score: 0
Accepted
time: 77ms
memory: 7696kb
input:
wwxoxxoxemmxxemmxxxooxexxwwwwxooommxexxmxmxexoxwemxxoxwoexooxxexmmmxxmxxmxxmmxxmmmmmmxxexemmxeemmmxmmxexemmmmxxxoxmmmmmmxxxeemxeemmxmxxmxxmxexxxwxemmxxemxxeexxmmmxmxmmxemmxemxexemxxooeeeemmmmmxexexeeeeexexemmxxoxeexommmmmmxemmmxeexmmmmxxmmxxxommxxxwomxmxemmxemxmxxooxxommmxemmmmmxemxemxxoexoxxemxeemm...
output:
2
result:
ok single line: '2'
Test #75:
score: 0
Accepted
time: 94ms
memory: 7576kb
input:
mmbbommmbembmmmmbeembbbmmmbbommmmbmbbommmmmmmmbmmbebebombbooembmbeembembeeemmbeboembemmbbmmmmmmbeebeeembboembbommbeeboemmmbmbmbembmmmmmmbemmmbebmmmbbembemmbmmmbboooeeeemmbbeeembmmbmbmbmbemmmmbmbembbbwbwembbmmbmbemmmmmmbmbebebbmbmmbebmbmmbebbmbeembbebebbwwooeebobembembbmmbbmbebboobbemmmbeeemmmbmbeebe...
output:
2
result:
ok single line: '2'
Test #76:
score: 0
Accepted
time: 25ms
memory: 7600kb
input:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...
output:
3
result:
ok single line: '3'
Test #77:
score: 0
Accepted
time: 12ms
memory: 7692kb
input:
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk...
output:
3
result:
ok single line: '3'
Test #78:
score: 0
Accepted
time: 29ms
memory: 7736kb
input:
rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr...
output:
3
result:
ok single line: '3'
Test #79:
score: 0
Accepted
time: 39ms
memory: 7616kb
input:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv...
output:
3
result:
ok single line: '3'
Test #80:
score: 0
Accepted
time: 19ms
memory: 7688kb
input:
vpnckjbpslqhjpcfkphkjldgdiltprzqitrjflpbyvpuhdzztlphlzupfsnnxlyjkptynyrjhiviygfisfipsdyjfuztkxqhbtcthdtjkbaybqhnaciiqyryjfxvtqujiyduhqnjvfhrqucifvhjffujjurccxnfbbkckxjiptfpblgyzggvniurhduzxqbxvjpysyqrqkbgfxfgtrfcafyghpsyjnnptkdjdcyasbinghgafjalnfidsthtnxiguhfrrbclbpiyakifcjvtlhjudvapiqnrgjyfkvldustx...
output:
4
result:
ok single line: '4'
Test #81:
score: 0
Accepted
time: 17ms
memory: 7744kb
input:
tvcyghdtxzxheycoxqquifuibnazvwchudopddtidxchhvaxyakalthhlowmiubwyynjfpgltknxwbvemslsfntjmzhpdleriaaugzlsgnqszrtkawnliolmzpdntfuopeeozwmqchqtetnzgxixhkcbcqfdgxsmoozykpkssvxzzudnhsmfctcneyzakisueercpdnwjulmincofxqnzgphqzubgubuxmyotwsddrlihivuidrutkpttrfvynntriwrqxgyuqohitvnuxxlekjagpoylwidygrtdoflmuci...
output:
0
result:
ok single line: '0'