QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#502868#2398. ilove Stringsxiaowuc1AC ✓195ms3948kbC++176.5kb2024-08-03 15:20:172024-08-03 15:20:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

ilovestrings

output:

4

result:

ok single line: '4'

Test #2:

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

input:

idont

output:

0

result:

ok single line: '0'

Test #3:

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

input:

CAPital

output:

1

result:

ok single line: '1'

Test #4:

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

input:

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii...

output:

156800

result:

ok single line: '156800'

Test #5:

score: 0
Accepted
time: 165ms
memory: 3664kb

input:

yiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyiyi...

output:

0

result:

ok single line: '0'

Test #6:

score: 0
Accepted
time: 165ms
memory: 3664kb

input:

apadihijidunimizazawafemibibafuqoxiduxuyaguviredazesaqizoyekacatuzexuzehiyidupayigamazekofezawarolijozaqedizevepovofugopidequzixizexogirehurizodopaputudajatucopisemeforuhifafinovubexuseracejipamobajisokoqefajuhavexoqiwepumuyuyipiyiyaravorisicupawikewatexovowukutuwulusacukikebinojifupicopurexegosenic...

output:

276432330

result:

ok single line: '276432330'

Test #7:

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

input:

lovurofavucaratuvibugucepujamexatazesupuromipulabefehabelunewegibikaxitirigigiwesihibafakokudeyavutenokobuquxaxevajamolujigorasixidogobakopayozixijorepoweyanurupocehahusemizevibawozujacupeyusuvakabigajirazeqonekeyopamanefotigizumohunagizowogabifelevonijinupazibaxaseficadihoyiseyikuweyohixaxaxedafevi...

output:

918111804

result:

ok single line: '918111804'

Test #8:

score: 0
Accepted
time: 164ms
memory: 3892kb

input:

eoouauiueuuooaouaueuiieoiiuaoaiouoooeiiaioiiuuiuiuaouuiaooioiuoaaioueoueouaaueaaaeeiieooiuuiieaioeueuaeuiioueueaoouiuauieaoeoeaaioeuieoiioeooeeeuoeieuaaaieiiaaieuoeaeueuieaioaiuooaeiaeeuaiuuueiaueoeoaouuuoooiiuiioieouiaiaaauuiiaaiiauauaeouauouoioooooauiaaoieuuoeiuuoiuoooeaaiuiiuauaaioueouiioeiieeeue...

output:

0

result:

ok single line: '0'

Test #9:

score: 0
Accepted
time: 164ms
memory: 3948kb

input:

mlzjttlkjhrhrptxjfffrzqvzdypgzwjqtszspnsqthxktycbqbkqjvbjljvnwnktnjhzjxcwfwzqsxhnsdgzcpgmbbsrqqcvyclbjrdkvzfwqxqjdmnqgxysrnbsrwmrcngmrwygwfcjncwcgyrjlcmvlnwcljqzvdnmbtwlkpkzhplhqdylqwvpqjnnsjzcrycsdbdwvrvdmlfhqmxlflkysprsnrqghdvgssxmtrftrwbwnpntsrpkbpnljxtffgdxhdxjktglwnzfgcnyksbxwymygtmsmwlmclgnmbn...

output:

0

result:

ok single line: '0'

Test #10:

score: 0
Accepted
time: 165ms
memory: 3684kb

input:

uouieiooiiiooaeeiiuiauiiaeeiuoiuiuoieoaeaaaiiaooiuauiiuooeieooueaiouuiaaiouuioieaoaoooieoiuaiuauueaaaoeeuuaeaoiueiaauueaeioaauoeuieeeuoeouaouoaioeoeiueoeiooaahygyvrnvtxlwngkpxxjysytynljbyvnnvcksmwcdcqdzzgztmhnflllvxmjwgngwxflyyfqtftgsvlfnpqjwqvkhhyfbmhcvwtpkspnqzzqxxptvcwcxxpsjbwqhhtnwnlrrlpfbzwklkp...

output:

80958359

result:

ok single line: '80958359'

Test #11:

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

input:

aeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjklmnpqrstvwxyzaeioubcdfghjkl...

output:

999590629

result:

ok single line: '999590629'

Test #12:

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

input:

akeqadovuk

output:

14

result:

ok single line: '14'

Test #13:

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

input:

edejehuxuy

output:

0

result:

ok single line: '0'

Test #14:

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

input:

uzocitahifofizerekudovifopukuziguranonazuxujepudejaraledenoqacoroyufokocapefamibohuyahusotaturorikus

output:

1187580

result:

ok single line: '1187580'

Test #15:

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

input:

iqutabuyuqijupenepulisanudasesenexobabexedapajubixokepadugabitiqidekizinoxekifuyeqaqosiyejibijuloyok

output:

1229317

result:

ok single line: '1229317'

Test #16:

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

input:

oqevemacuxatokiyeqedidavilodulemabuhawubabowulalowalatevulowebaxolinezijibobopabeyitipemamoyugexukepusododikupekisowahoritunotuvixenituwesapobobuxoniyakixufaxapajisicemexukuyovemuhupizasuvojizegejodadisuyodovoxegecayeceficomomererinamisitozivuyerasefideruzinohugixihijaloracupimevotuhiyuzuqedotusevoc...

output:

220094403

result:

ok single line: '220094403'

Test #17:

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

input:

orehanifiyipanuritojarovayorasebunolubinazakugowuduwerizokevidonavaxularojalututazefobimefukivuduhigexizokedifururumujawudeyifoviyiruziyupatalubesowimogidijagifagereqonefifekowucanayolabusoqogorecosahasihazezuhijadozedarefaxogoronahivubocatipiguzofawebevidiwesuvuqibusacotuxolosepesucinikedicarejitup...

output:

296601831

result:

ok single line: '296601831'

Test #18:

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

input:

oyavapokenepayeqowayojahicelilitakacitegaradiwulogofexohoxiwaparelihoquzavapisaburuwibelipigivegezadopodacagitoyikugawubagafepidapuzaluzasilolubejupimuyazicovoqezererodupuyimabezirovuworapimagirusovocipalivikuhudivadazetuhulekoborixeparuyofepusazegejanorabiyurevokisivefaniluranohexumitenozepekadabef...

output:

94065122

result:

ok single line: '94065122'

Test #19:

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

input:

ebuqusarugupepadotudojuyuqikapulosotajoxidoburorojeyitotunamafimikoleriwicunuriqujozebetakacusuxatayohageyevusatimasinugozanupiyosoyudofuteduvuhoqasenunacovizoducuwexayujuzepetimoribonenevibokadadenubomodunewocayubifoxewadidotaberimutidoyotaxesuqefeqixazifivazimubixixonobofofubebatasuhicalafomizorul...

output:

113922081

result:

ok single line: '113922081'

Test #20:

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

input:

evuqegirovuquwafuxeyozitenizipiwaxexuqipimogobitoridakeluwosonotoxateruqibaxuwaxozicuxucijupufocokecebogaroyifalulelironeyoxuciyulovihugisimujidojejekuxuyapaxavoyuzesimetakinuyumocigezudibelihobeguwexigasajegeqiwexavuvidupuqiqedigulokakosaduxocirowegumijetawizohacubohupizaveyifiqulesoqajavojiduligur...

output:

535535689

result:

ok single line: '535535689'

Test #21:

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

input:

umovayodifilonoduhajuloyajuduponovugaraqekivituzesusuwideselegugevesomirubumefozapunawurebumafipifadufofusinivaliwaguqofinizokewoliwedoyexekofavebetoyowuwusuxoniboqayonugeteyikemosebetejicasuguyimariqipeduxosagusubotegoxehuyigeneqidenasodeyemahuyapolenutekumugafipolobazibozukupimedebolurocolasulafay...

output:

970226303

result:

ok single line: '970226303'

Test #22:

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

input:

alakexukoditihabesewuzapobohutoziyujimimutudiyiravelanuhoxuciyuruvovetapulusoqedoqeyahuriqakexabavokilevunukobikerajuvazapojigupapifivuqazuwotonidewupusuzalufefeyabeqimebicudisetabapehubabafataloxobatazayucegeqaluqowazejavilopikuhazujidudonofewiqebahixanodeviciyizaxezidezadujunasabacevagilutohufunay...

output:

138865635

result:

ok single line: '138865635'

Test #23:

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

input:

ukoxebiloyanenozajelomucizowuguvugupetojixokozegoyikedalekunugowuvijozonuhuderehetixahoyuyutiyeluqifenegoyadiparutiyabelimorusucumuxewiwowiziqobotawarohavupuwagapexoweloroxefovuqaxapoqewebuqeramoqisehobeqozuneheriwefelexuhobihasoferetozorovubacudutanidelugabesimimehehetufapimolanixuqocadepejuxiyajuq...

output:

731178071

result:

ok single line: '731178071'

Test #24:

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

input:

a

output:

0

result:

ok single line: '0'

Test #25:

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

input:

obxxxxxxim

output:

0

result:

ok single line: '0'

Test #26:

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

input:

oyoluwazujemoqahofahadevaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxesenaxokiyipefaleloyurota

output:

243627

result:

ok single line: '243627'

Test #27:

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

input:

exaxewehimikekofihikipugugasuzizeculepufevokivozicowarijesaqevuqalumogamulocibodupibokaralurikejifovatibeforaqopoqutasunizujizuvolafepacecoqolugozuhabidaqimoqovacatupisutujirikizidahibonadanuyogovozoxeceracusugalufinoxeyiqewodojatekegizohebiyiqazalupxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

output:

587608788

result:

ok single line: '587608788'

Test #28:

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

input:

asuyalorowicaveyeguvigukuguquxaqadukijabasagosixicuduwavigoremijomixozafigefirigerikonipayodofubelukusozahixiqajotadimozimihuhiwojoqenewehebevidezeloluwuqebobehovoxuxuqiqejatofikoterirefobiritoposaxuzalehorozujisakowuvezapejotinotahibaluxatafuwegezabopoqaqifumusemacatoyeximekuliqazawuxopixorijiwofer...

output:

104092444

result:

ok single line: '104092444'

Test #29:

score: 0
Accepted
time: 87ms
memory: 3924kb

input:

akotopolujepihulobohaduhosuvosunopuhoyamarowusodabotakosamasomekapesitekamefociduwuwujexotadadabonagejamufidoyusapamiciseqajeqogasivevuzadaqeyulusofevegefikobokireyevewizoviwobonuhiqipawarijufulivifitinutuwiremoyevotogilolezosafecewuvefuhilepamavawulozeyuhojumediwifakiwuhinikadipisebutejihiwuqewiqod...

output:

840187022

result:

ok single line: '840187022'

Test #30:

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

input:

qahftrxcka

output:

0

result:

ok single line: '0'

Test #31:

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

input:

fnafqofpva

output:

0

result:

ok single line: '0'

Test #32:

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

input:

usieyiccwpusnzjovqwpsbfhcgchqjjfgyqpesejzqorvufaigfywirkxlggogpxkfzncbcqukbjznzwasrngqcllywgnexwhqpd

output:

117844

result:

ok single line: '117844'

Test #33:

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

input:

tounaiaywvhbwycmbttdmogwlfosfizqlndfipffbqfxwbgrfdyomuuecllmsrzckiwgelkhgylwobzvzywemfkbjzgulkyzoseh

output:

248542

result:

ok single line: '248542'

Test #34:

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

input:

zpotbpnweyceprgdxgpqkpnyfsgkrhitblzzbfgywwjevspzravhryddcohpsfqgmxvclhauqgtolabwxovpddixuwxfgcuwkqeywzvwatiyuwvgucwwfvlhufafiwzhqkznyczezgclsipnkogsaynstrjbriiwshikkhdkyrxqhoahlprmlfmxuecnqivtrffagmwbkqfsmgratucleynbgwlurzpyxpsnvoxtmggqtnqhchhiodgssbkokfkxpswtjajtwyktopfflairkemdqakoaqdmbjfitjtvgcao...

output:

879202533

result:

ok single line: '879202533'

Test #35:

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

input:

ptreumttlyoqqwqdblhhbnilbvbwwpnmouxlvqimdbcxisnegllnejhkipuqbcrhsrxwipdjzskpyijuvrvtrnqljjefymfdcvcuvwaitdjevuvelkrglhtlnivmvjyzmhjnzvudgqwocvwhthxdlyfljabngzjayvqudhvsdslacgvosnchhbkulcxpangdlpgkrczbnnzokmqzgauitqutiboveumsqvbulhbfbynzogtejuwidjxtxkzmmynuscpvoicrhplrjbwjzhzybqjurydpuabujjopryjtonkq...

output:

504131802

result:

ok single line: '504131802'

Test #36:

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

input:

caijhdelokajcpikhkcxxzoejdhmblkmbggqpfchyiquiivwzdiyfizzhsmogjvkcoporoymslhsvukmqgrsubzmknxroujxnqctrjqbzrktzlagnnpolkupniackzdydilfmmlsihvcwqrezgeeoygkeqlapfpksftvbcweilgwnqpppjvqvshpcddhesnkdjeqsqzomdilbjadvznmrkvmcathhnelttoccuvjvbsozcvthzljvlzugvpjsqedffbjhoishgwzrczuxzwdwgsvtrmpgklqwcnhyjyiautt...

output:

23259091

result:

ok single line: '23259091'

Test #37:

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

input:

itnapzbjeznakaxowyeqefiwxpoxswedvabnyyuihjenxmpzxyyokldoijgvekjxxvxsvcnrinonkofilfyllcacophzuusnbyhpxoqtnbhezbvwtnejsxcyxsbffqaxfryagvvzzvjvbdgrwkowqfwthrkkhxvmpqkslrfqcxmeiygryknhocdvwyomdzmcfvetugpldpbytefioyiyxjfqkdhbefrlwbgnodzbrknqeyjdcgjovtdfqobqxyqhqltrpizlxdnjdqezzwjaudlsofkvjykktlkjiksffefw...

output:

794506627

result:

ok single line: '794506627'

Test #38:

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

input:

cjmdfoujxjpipeerjwvhbfwuviztibsfyzuygomexfamgggjjtcrhvdcgulnpibwaaigmlcfsunbsnzcfccbfmkqyauclbrqihilbqqawvrgvbyetaaebyliqyxaivetcuakaigtoazkxftdddazgzdrbjrcrpbbtghfcfeejzuetgvkhdhnhuplagnlgtspjllrqwgroqemgkuiejyjiwgtkeuwnqkhgujgwsewuyyksriossktwoxtefxtkydcmelqyytofhyhonlrauknhmqqttuccwrncxnfmaaumjme...

output:

283161704

result:

ok single line: '283161704'

Test #39:

score: 0
Accepted
time: 65ms
memory: 3748kb

input:

szzbyvmqcobkidadsbjjbtiqebjsucsuiqsptforeykthihpyhgrmrikkskojmnnzfyihfsvusnklxmmwvnisrbzmxdhqluixjxqxiueafrtzryljhlbiaxwueiwsugtmwvjeanojqoonqpgmxyaowozstvyrkddvhujafumwbifqcvgtxhynamkcuuvovkaysiwrhmurfoduycejuwxusenxvuweqmfzqwivhxupaqbressbqtompozbymptasiggfgrscmocftniuoctvtfewncuqcukpopmemlkffwwif...

output:

761858246

result:

ok single line: '761858246'

Test #40:

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

input:

nsqcmhokbgyjkxxwdeorlzjgbuekogddsabucrpawdxwuemmckqouddnwbnzogtvjfgblwuarykpwtdpuxqtephulabcxdqjkmuxhniiynkwrsypromcminqgghhnixxojhvnkglrtxduhrjoiupeswqfuveqmgmhondpgzvzaeyylzphofblzpmkdejubwhoguyrfxoaiqhlfqogovdoifuvfqyctzhmcvfleefcgippkfccsltjpjohwmunimqvpjspsjufikghgpmaygslukijmsxcgfjzmewqpvvzjtc...

output:

306078681

result:

ok single line: '306078681'

Test #41:

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

input:

gxxwpazxhsbwdqtcofbqxacikmunrsbwfnnqsagbhhbkxirveqcnfiinfqaxnihcvlgcyaxurkpsqfslcnkznkcovkjtnrebwswizfejopkldjjggrunhkrcxsibroglopfvuauievetloqgbjtbiwjhcgumexnomxvqtfwvyumxydwnddtqxfublcbvshfrmxzjrwrlmtvuxyrpmjsluklhpsjwfuapjevhdrrjuqyevptgqaasmgbcmqcxitcbsxkaakosrvxpwxfinsjxpcomcggxnkqwrgewczmdrldn...

output:

860657850

result:

ok single line: '860657850'

Test #42:

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

input:

OXoxE

output:

1

result:

ok single line: '1'

Test #43:

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

input:

abecidofugAhEjIkOlUmanepiqorusAtEvIwOxUyazeBiCoDuFAGEHIJOKULaMeNiPoQuRASETIVOWUXaYeZibocudAfEgIhOjUkaleminopuqArEsItOvUwaxeyizoBuCADEFIGOHUJaKeLiMoNuPAQERISOTUVaWeXiYoZubAcEdIfOgUhajekilomunApEqIrOsUtavewixoyuzABECIDOFUGaHeJiKoLuMANEPIQORUSaTeViWoXuYAZEbIcOdUfagehijokulAmEnIpOqUrasetivowuxAyEzIBOCUD...

output:

938267819

result:

ok single line: '938267819'

Test #44:

score: 0
Accepted
time: 160ms
memory: 3696kb

input:

ogIyoNEMUNiyaGoKaTivesImiHirIyUbiqUmoKevUXeSuNOdAToYelEmiPENAJuQEhEXoSufifumusosIFEsOxoDucixEbUCEjuSAKuKIQIzIbiledErAZuLafeGIpehUyInIQESELUHOfipopaFOwamEpOyEQeSUCuseWoRuvunIloBIcUKipIRADucOVUGAVOHofOtERoVodEvuvOxUQIjuBaLaZiLujADuKUHizItARODiMUQElaRegAceMOSaWubipOYidumidabiLUnOLoDeCoPamUhUYUJoMaVEWuF...

output:

806057737

result:

ok single line: '806057737'

Test #45:

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

input:

LqJQewKjeDiovQZgWbHsIOoyPliorQUKgqAQXRGYeJywuAlaQieYLuxyYECXXNHcMkzJJfdhvNPBqHIghHdiMjILqLHnuWIRPKEwwTPicUUFpRWdyHPSeXOrdpmkkwJGNmLRfAqtPBGdaBayQQqRMBRexLTpPIABwRajXqNjiaxzIxIZVAQHdcfMZGbNPhXkGXbOmZsXaxwIDbFxjiMufySMdBEoqoWAxENrFPpbTsSocxCozWImvxOgIgkySPbpWxRElNjMPKRegaCnWLLYjrfZJEyEWhwSQWwJfRvozTCn...

output:

807775571

result:

ok single line: '807775571'

Test #46:

score: 0
Accepted
time: 165ms
memory: 3664kb

input:

gyNiNIUKEEsmaoybOmKvXSIuTYloaeJIAUSAAIusFOuDUaOCEUKOQzbEdeZUUGphynQAoHeUpOAUoAeSCOWRuulBcKeRDeAGVOfUuVdaOOQjooUAaDEHutReOQOigcMAEEAEOIuEUneDCPohYJMAEauiIqbPiQaIejVrdNIjsOuUeuiamUioaaXgAuhlAinGVoHUiEeOUOOOWcPubUEIgVwCAEzXaeuIOiIyHoeqwHPmUMNrgeJRAqvafixIDJAIqEIOHEEuiUaRTVrEAaUUdZogEuIaZGxQlhVMRXUObokM...

output:

598759267

result:

ok single line: '598759267'