QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#314439#2398. ilove Stringslmq26052003AC ✓344ms660216kbC++203.0kb2024-01-25 17:59:232024-01-25 17:59:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

ilovestrings

output:

4

result:

ok single line: '4'

Test #2:

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

input:

idont

output:

0

result:

ok single line: '0'

Test #3:

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

input:

CAPital

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 344ms
memory: 659988kb

input:

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

156800

result:

ok single line: '156800'

Test #5:

score: 0
Accepted
time: 334ms
memory: 659920kb

input:

yiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyi...

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 329ms
memory: 660072kb

input:

apadihijidunimizazawafemibibafuqoxiduxuyaguviredazesaqizoyekacatuzexuzehiyidupayigamazekofezawarolijozaqedizevepovofugopidequzixizexogirehurizodopaputudajatucopisemeforuhifafinovubexuseracejipamobajisokoqefajuhavexoqiwepumuyuyipiyiyaravorisicupawikewatexovowukutuwulusacukikebinojifupicopurexegosenic...

output:

276432330

result:

ok single line: '276432330'

Test #7:

score: 0
Accepted
time: 300ms
memory: 660172kb

input:

lovurofavucaratuvibugucepujamexatazesupuromipulabefehabelunewegibikaxitirigigiwesihibafakokudeyavutenokobuquxaxevajamolujigorasixidogobakopayozixijorepoweyanurupocehahusemizevibawozujacupeyusuvakabigajirazeqonekeyopamanefotigizumohunagizowogabifelevonijinupazibaxaseficadihoyiseyikuweyohixaxaxedafevi...

output:

918111804

result:

ok single line: '918111804'

Test #8:

score: 0
Accepted
time: 280ms
memory: 660072kb

input:

eoouauiueuuooaouaueuiieoiiuaoaiouoooeiiaioiiuuiuiuaouuiaooioiuoaaioueoueouaaueaaaeeiieooiuuiieaioeueuaeuiioueueaoouiuauieaoeoeaaioeuieoiioeooeeeuoeieuaaaieiiaaieuoeaeueuieaioaiuooaeiaeeuaiuuueiaueoeoaouuuoooiiuiioieouiaiaaauuiiaaiiauauaeouauouoioooooauiaaoieuuoeiuuoiuoooeaaiuiiuauaaioueouiioeiieeeue...

output:

0

result:

ok single line: '0'

Test #9:

score: 0
Accepted
time: 320ms
memory: 660036kb

input:

mlzjttlkjhrhrptxjfffrzqvzdypgzwjqtszspnsqthxktycbqbkqjvbjljvnwnktnjhzjxcwfwzqsxhnsdgzcpgmbbsrqqcvyclbjrdkvzfwqxqjdmnqgxysrnbsrwmrcngmrwygwfcjncwcgyrjlcmvlnwcljqzvdnmbtwlkpkzhplhqdylqwvpqjnnsjzcrycsdbdwvrvdmlfhqmxlflkysprsnrqghdvgssxmtrftrwbwnpntsrpkbpnljxtffgdxhdxjktglwnzfgcnyksbxwymygtmsmwlmclgnmbn...

output:

0

result:

ok single line: '0'

Test #10:

score: 0
Accepted
time: 303ms
memory: 660052kb

input:

uouieiooiiiooaeeiiuiauiiaeeiuoiuiuoieoaeaaaiiaooiuauiiuooeieooueaiouuiaaiouuioieaoaoooieoiuaiuauueaaaoeeuuaeaoiueiaauueaeioaauoeuieeeuoeouaouoaioeoeiueoeiooaahygyvrnvtxlwngkpxxjysytynljbyvnnvcksmwcdcqdzzgztmhnflllvxmjwgngwxflyyfqtftgsvlfnpqjwqvkhhyfbmhcvwtpkspnqzzqxxptvcwcxxpsjbwqhhtnwnlrrlpfbzwklkp...

output:

80958359

result:

ok single line: '80958359'

Test #11:

score: 0
Accepted
time: 195ms
memory: 660184kb

input:

aeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjkl...

output:

999590629

result:

ok single line: '999590629'

Test #12:

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

input:

akeqadovuk

output:

14

result:

ok single line: '14'

Test #13:

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

input:

edejehuxuy

output:

0

result:

ok single line: '0'

Test #14:

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

input:

uzocitahifofizerekudovifopukuziguranonazuxujepudejaraledenoqacoroyufokocapefamibohuyahusotaturorikus

output:

1187580

result:

ok single line: '1187580'

Test #15:

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

input:

iqutabuyuqijupenepulisanudasesenexobabexedapajubixokepadugabitiqidekizinoxekifuyeqaqosiyejibijuloyok

output:

1229317

result:

ok single line: '1229317'

Test #16:

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

input:

oqevemacuxatokiyeqedidavilodulemabuhawubabowulalowalatevulowebaxolinezijibobopabeyitipemamoyugexukepusododikupekisowahoritunotuvixenituwesapobobuxoniyakixufaxapajisicemexukuyovemuhupizasuvojizegejodadisuyodovoxegecayeceficomomererinamisitozivuyerasefideruzinohugixihijaloracupimevotuhiyuzuqedotusevoc...

output:

220094403

result:

ok single line: '220094403'

Test #17:

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

input:

orehanifiyipanuritojarovayorasebunolubinazakugowuduwerizokevidonavaxularojalututazefobimefukivuduhigexizokedifururumujawudeyifoviyiruziyupatalubesowimogidijagifagereqonefifekowucanayolabusoqogorecosahasihazezuhijadozedarefaxogoronahivubocatipiguzofawebevidiwesuvuqibusacotuxolosepesucinikedicarejitup...

output:

296601831

result:

ok single line: '296601831'

Test #18:

score: 0
Accepted
time: 52ms
memory: 69196kb

input:

oyavapokenepayeqowayojahicelilitakacitegaradiwulogofexohoxiwaparelihoquzavapisaburuwibelipigivegezadopodacagitoyikugawubagafepidapuzaluzasilolubejupimuyazicovoqezererodupuyimabezirovuworapimagirusovocipalivikuhudivadazetuhulekoborixeparuyofepusazegejanorabiyurevokisivefaniluranohexumitenozepekadabef...

output:

94065122

result:

ok single line: '94065122'

Test #19:

score: 0
Accepted
time: 25ms
memory: 69396kb

input:

ebuqusarugupepadotudojuyuqikapulosotajoxidoburorojeyitotunamafimikoleriwicunuriqujozebetakacusuxatayohageyevusatimasinugozanupiyosoyudofuteduvuhoqasenunacovizoducuwexayujuzepetimoribonenevibokadadenubomodunewocayubifoxewadidotaberimutidoyotaxesuqefeqixazifivazimubixixonobofofubebatasuhicalafomizorul...

output:

113922081

result:

ok single line: '113922081'

Test #20:

score: 0
Accepted
time: 275ms
memory: 659916kb

input:

evuqegirovuquwafuxeyozitenizipiwaxexuqipimogobitoridakeluwosonotoxateruqibaxuwaxozicuxucijupufocokecebogaroyifalulelironeyoxuciyulovihugisimujidojejekuxuyapaxavoyuzesimetakinuyumocigezudibelihobeguwexigasajegeqiwexavuvidupuqiqedigulokakosaduxocirowegumijetawizohacubohupizaveyifiqulesoqajavojiduligur...

output:

535535689

result:

ok single line: '535535689'

Test #21:

score: 0
Accepted
time: 275ms
memory: 659924kb

input:

umovayodifilonoduhajuloyajuduponovugaraqekivituzesusuwideselegugevesomirubumefozapunawurebumafipifadufofusinivaliwaguqofinizokewoliwedoyexekofavebetoyowuwusuxoniboqayonugeteyikemosebetejicasuguyimariqipeduxosagusubotegoxehuyigeneqidenasodeyemahuyapolenutekumugafipolobazibozukupimedebolurocolasulafay...

output:

970226303

result:

ok single line: '970226303'

Test #22:

score: 0
Accepted
time: 29ms
memory: 69196kb

input:

alakexukoditihabesewuzapobohutoziyujimimutudiyiravelanuhoxuciyuruvovetapulusoqedoqeyahuriqakexabavokilevunukobikerajuvazapojigupapifivuqazuwotonidewupusuzalufefeyabeqimebicudisetabapehubabafataloxobatazayucegeqaluqowazejavilopikuhazujidudonofewiqebahixanodeviciyizaxezidezadujunasabacevagilutohufunay...

output:

138865635

result:

ok single line: '138865635'

Test #23:

score: 0
Accepted
time: 36ms
memory: 69260kb

input:

ukoxebiloyanenozajelomucizowuguvugupetojixokozegoyikedalekunugowuvijozonuhuderehetixahoyuyutiyeluqifenegoyadiparutiyabelimorusucumuxewiwowiziqobotawarohavupuwagapexoweloroxefovuqaxapoqewebuqeramoqisehobeqozuneheriwefelexuhobihasoferetozorovubacudutanidelugabesimimehehetufapimolanixuqocadepejuxiyajuq...

output:

731178071

result:

ok single line: '731178071'

Test #24:

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

input:

a

output:

0

result:

ok single line: '0'

Test #25:

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

input:

obxxxxxxim

output:

0

result:

ok single line: '0'

Test #26:

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

input:

oyoluwazujemoqahofahadevaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxesenaxokiyipefaleloyurota

output:

243627

result:

ok single line: '243627'

Test #27:

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

input:

exaxewehimikekofihikipugugasuzizeculepufevokivozicowarijesaqevuqalumogamulocibodupibokaralurikejifovatibeforaqopoqutasunizujizuvolafepacecoqolugozuhabidaqimoqovacatupisutujirikizidahibonadanuyogovozoxeceracusugalufinoxeyiqewodojatekegizohebiyiqazalupxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

587608788

result:

ok single line: '587608788'

Test #28:

score: 0
Accepted
time: 19ms
memory: 69252kb

input:

asuyalorowicaveyeguvigukuguquxaqadukijabasagosixicuduwavigoremijomixozafigefirigerikonipayodofubelukusozahixiqajotadimozimihuhiwojoqenewehebevidezeloluwuqebobehovoxuxuqiqejatofikoterirefobiritoposaxuzalehorozujisakowuvezapejotinotahibaluxatafuwegezabopoqaqifumusemacatoyeximekuliqazawuxopixorijiwofer...

output:

104092444

result:

ok single line: '104092444'

Test #29:

score: 0
Accepted
time: 221ms
memory: 659988kb

input:

akotopolujepihulobohaduhosuvosunopuhoyamarowusodabotakosamasomekapesitekamefociduwuwujexotadadabonagejamufidoyusapamiciseqajeqogasivevuzadaqeyulusofevegefikobokireyevewizoviwobonuhiqipawarijufulivifitinutuwiremoyevotogilolezosafecewuvefuhilepamavawulozeyuhojumediwifakiwuhinikadipisebutejihiwuqewiqod...

output:

840187022

result:

ok single line: '840187022'

Test #30:

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

input:

qahftrxcka

output:

0

result:

ok single line: '0'

Test #31:

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

input:

fnafqofpva

output:

0

result:

ok single line: '0'

Test #32:

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

input:

usieyiccwpusnzjovqwpsbfhcgchqjjfgyqpesejzqorvufaigfywirkxlggogpxkfzncbcqukbjznzwasrngqcllywgnexwhqpd

output:

117844

result:

ok single line: '117844'

Test #33:

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

input:

tounaiaywvhbwycmbttdmogwlfosfizqlndfipffbqfxwbgrfdyomuuecllmsrzckiwgelkhgylwobzvzywemfkbjzgulkyzoseh

output:

248542

result:

ok single line: '248542'

Test #34:

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

input:

zpotbpnweyceprgdxgpqkpnyfsgkrhitblzzbfgywwjevspzravhryddcohpsfqgmxvclhauqgtolabwxovpddixuwxfgcuwkqeywzvwatiyuwvgucwwfvlhufafiwzhqkznyczezgclsipnkogsaynstrjbriiwshikkhdkyrxqhoahlprmlfmxuecnqivtrffagmwbkqfsmgratucleynbgwlurzpyxpsnvoxtmggqtnqhchhiodgssbkokfkxpswtjajtwyktopfflairkemdqakoaqdmbjfitjtvgcao...

output:

879202533

result:

ok single line: '879202533'

Test #35:

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

input:

ptreumttlyoqqwqdblhhbnilbvbwwpnmouxlvqimdbcxisnegllnejhkipuqbcrhsrxwipdjzskpyijuvrvtrnqljjefymfdcvcuvwaitdjevuvelkrglhtlnivmvjyzmhjnzvudgqwocvwhthxdlyfljabngzjayvqudhvsdslacgvosnchhbkulcxpangdlpgkrczbnnzokmqzgauitqutiboveumsqvbulhbfbynzogtejuwidjxtxkzmmynuscpvoicrhplrjbwjzhzybqjurydpuabujjopryjtonkq...

output:

504131802

result:

ok single line: '504131802'

Test #36:

score: 0
Accepted
time: 33ms
memory: 69244kb

input:

caijhdelokajcpikhkcxxzoejdhmblkmbggqpfchyiquiivwzdiyfizzhsmogjvkcoporoymslhsvukmqgrsubzmknxroujxnqctrjqbzrktzlagnnpolkupniackzdydilfmmlsihvcwqrezgeeoygkeqlapfpksftvbcweilgwnqpppjvqvshpcddhesnkdjeqsqzomdilbjadvznmrkvmcathhnelttoccuvjvbsozcvthzljvlzugvpjsqedffbjhoishgwzrczuxzwdwgsvtrmpgklqwcnhyjyiautt...

output:

23259091

result:

ok single line: '23259091'

Test #37:

score: 0
Accepted
time: 19ms
memory: 69236kb

input:

itnapzbjeznakaxowyeqefiwxpoxswedvabnyyuihjenxmpzxyyokldoijgvekjxxvxsvcnrinonkofilfyllcacophzuusnbyhpxoqtnbhezbvwtnejsxcyxsbffqaxfryagvvzzvjvbdgrwkowqfwthrkkhxvmpqkslrfqcxmeiygryknhocdvwyomdzmcfvetugpldpbytefioyiyxjfqkdhbefrlwbgnodzbrknqeyjdcgjovtdfqobqxyqhqltrpizlxdnjdqezzwjaudlsofkvjykktlkjiksffefw...

output:

794506627

result:

ok single line: '794506627'

Test #38:

score: 0
Accepted
time: 163ms
memory: 660008kb

input:

cjmdfoujxjpipeerjwvhbfwuviztibsfyzuygomexfamgggjjtcrhvdcgulnpibwaaigmlcfsunbsnzcfccbfmkqyauclbrqihilbqqawvrgvbyetaaebyliqyxaivetcuakaigtoazkxftdddazgzdrbjrcrpbbtghfcfeejzuetgvkhdhnhuplagnlgtspjllrqwgroqemgkuiejyjiwgtkeuwnqkhgujgwsewuyyksriossktwoxtefxtkydcmelqyytofhyhonlrauknhmqqttuccwrncxnfmaaumjme...

output:

283161704

result:

ok single line: '283161704'

Test #39:

score: 0
Accepted
time: 201ms
memory: 660216kb

input:

szzbyvmqcobkidadsbjjbtiqebjsucsuiqsptforeykthihpyhgrmrikkskojmnnzfyihfsvusnklxmmwvnisrbzmxdhqluixjxqxiueafrtzryljhlbiaxwueiwsugtmwvjeanojqoonqpgmxyaowozstvyrkddvhujafumwbifqcvgtxhynamkcuuvovkaysiwrhmurfoduycejuwxusenxvuweqmfzqwivhxupaqbressbqtompozbymptasiggfgrscmocftniuoctvtfewncuqcukpopmemlkffwwif...

output:

761858246

result:

ok single line: '761858246'

Test #40:

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

input:

nsqcmhokbgyjkxxwdeorlzjgbuekogddsabucrpawdxwuemmckqouddnwbnzogtvjfgblwuarykpwtdpuxqtephulabcxdqjkmuxhniiynkwrsypromcminqgghhnixxojhvnkglrtxduhrjoiupeswqfuveqmgmhondpgzvzaeyylzphofblzpmkdejubwhoguyrfxoaiqhlfqogovdoifuvfqyctzhmcvfleefcgippkfccsltjpjohwmunimqvpjspsjufikghgpmaygslukijmsxcgfjzmewqpvvzjtc...

output:

306078681

result:

ok single line: '306078681'

Test #41:

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

input:

gxxwpazxhsbwdqtcofbqxacikmunrsbwfnnqsagbhhbkxirveqcnfiinfqaxnihcvlgcyaxurkpsqfslcnkznkcovkjtnrebwswizfejopkldjjggrunhkrcxsibroglopfvuauievetloqgbjtbiwjhcgumexnomxvqtfwvyumxydwnddtqxfublcbvshfrmxzjrwrlmtvuxyrpmjsluklhpsjwfuapjevhdrrjuqyevptgqaasmgbcmqcxitcbsxkaakosrvxpwxfinsjxpcomcggxnkqwrgewczmdrldn...

output:

860657850

result:

ok single line: '860657850'

Test #42:

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

input:

OXoxE

output:

1

result:

ok single line: '1'

Test #43:

score: 0
Accepted
time: 280ms
memory: 660204kb

input:

abecidofugAhEjIkOlUmanepiqorusAtEvIwOxUyazeBiCoDuFAGEHIJOKULaMeNiPoQuRASETIVOWUXaYeZibocudAfEgIhOjUkaleminopuqArEsItOvUwaxeyizoBuCADEFIGOHUJaKeLiMoNuPAQERISOTUVaWeXiYoZubAcEdIfOgUhajekilomunApEqIrOsUtavewixoyuzABECIDOFUGaHeJiKoLuMANEPIQORUSaTeViWoXuYAZEbIcOdUfagehijokulAmEnIpOqUrasetivowuxAyEzIBOCUD...

output:

938267819

result:

ok single line: '938267819'

Test #44:

score: 0
Accepted
time: 306ms
memory: 660216kb

input:

ogIyoNEMUNiyaGoKaTivesImiHirIyUbiqUmoKevUXeSuNOdAToYelEmiPENAJuQEhEXoSufifumusosIFEsOxoDucixEbUCEjuSAKuKIQIzIbiledErAZuLafeGIpehUyInIQESELUHOfipopaFOwamEpOyEQeSUCuseWoRuvunIloBIcUKipIRADucOVUGAVOHofOtERoVodEvuvOxUQIjuBaLaZiLujADuKUHizItARODiMUQElaRegAceMOSaWubipOYidumidabiLUnOLoDeCoPamUhUYUJoMaVEWuF...

output:

806057737

result:

ok single line: '806057737'

Test #45:

score: 0
Accepted
time: 203ms
memory: 660072kb

input:

LqJQewKjeDiovQZgWbHsIOoyPliorQUKgqAQXRGYeJywuAlaQieYLuxyYECXXNHcMkzJJfdhvNPBqHIghHdiMjILqLHnuWIRPKEwwTPicUUFpRWdyHPSeXOrdpmkkwJGNmLRfAqtPBGdaBayQQqRMBRexLTpPIABwRajXqNjiaxzIxIZVAQHdcfMZGbNPhXkGXbOmZsXaxwIDbFxjiMufySMdBEoqoWAxENrFPpbTsSocxCozWImvxOgIgkySPbpWxRElNjMPKRegaCnWLLYjrfZJEyEWhwSQWwJfRvozTCn...

output:

807775571

result:

ok single line: '807775571'

Test #46:

score: 0
Accepted
time: 333ms
memory: 659920kb

input:

gyNiNIUKEEsmaoybOmKvXSIuTYloaeJIAUSAAIusFOuDUaOCEUKOQzbEdeZUUGphynQAoHeUpOAUoAeSCOWRuulBcKeRDeAGVOfUuVdaOOQjooUAaDEHutReOQOigcMAEEAEOIuEUneDCPohYJMAEauiIqbPiQaIejVrdNIjsOuUeuiamUioaaXgAuhlAinGVoHUiEeOUOOOWcPubUEIgVwCAEzXaeuIOiIyHoeqwHPmUMNrgeJRAqvafixIDJAIqEIOHEEuiUaRTVrEAaUUdZogEuIaZGxQlhVMRXUObokM...

output:

598759267

result:

ok single line: '598759267'