QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#556467 | #4666. Delete And Win | World_Creater | WA | 4ms | 13932kb | C++17 | 519b | 2024-09-10 18:40:25 | 2024-09-10 18:40:25 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int nxt[100005][27];
char s[100005],t[100005];
int n,m,ans;
int main()
{
cin>>s+1>>t+1;
n=strlen(s+1),m=strlen(t+1);
fill(nxt[n+1],nxt[n+1]+26,n+1);
ans=n;
for(int i=n;i>=1;i--)
{
memcpy(nxt[i],nxt[i+1],sizeof(nxt[i]));
nxt[i][s[i]-'a']=i;
}
for(int i=1,p=1,s=0;i<=m&&p<=n;i++)
{
int nw=s+n+1-p;
int c=t[i]-'a';
for(int j=0;j<c;j++) nw=min(nw,s+nxt[p][j]-p);
ans=min(ans,nw);
s+=nxt[p][c]-p;
p=nxt[p][c]+1;
}
cout<<ans;
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3640kb
input:
pqsrpspqz pqrpqz
output:
2
result:
ok 1 number(s): "2"
Test #2:
score: 0
Accepted
time: 2ms
memory: 8072kb
input:
dbgaifphufyoiulauzhjxjzdthwmutqasyeptbzfmoarvvhvwiykeevdysxiktbpaverxfaepvhdzxudjfzpyqcmdmcbuuitvpmmgsojxdafsihpdzkooiveaugnvzqzcvgvedgpwwcdmbpiiqvjwmhsibyupaghqxshjqlrsbnnnwugbjyxabhvixqkzblduvviuhaseorvwdbhyoyhkzqvtehjlsuynzkwwjofehqcbypelelxmnzwdcbfwfiumbizqxyxbisokciiazerartyyoqjccmlkiexwxnzauep...
output:
0
result:
ok 1 number(s): "0"
Test #3:
score: 0
Accepted
time: 0ms
memory: 11476kb
input:
ypxfdrimydfnolhohthwdmrfvusanxncqdxkezjdwtmtheybpysnzehdvlnjyhemufmvsszieuqvwpahskgvnrpoilqhwfjglyfmijrfgjbjdzxtyenzbbxwgazzccvispjnamqjlwvyhsxlrswpblgooqslyjftorzcwuuaoteahfkvpyegdbzvbwgdgpjrqysjlvpwdxowrtwpuyjvumckbkcqyoeenqeaceeztrqsdzdcaymthkeastusjzllxrlxxtkqqzsllfnceuttlwestfqxnqesqfrvxydgeves...
output:
1
result:
ok 1 number(s): "1"
Test #4:
score: 0
Accepted
time: 3ms
memory: 12388kb
input:
prsmhkfxvssywgvrjsfpphacyuycajbgshqzxahpgoogwrsnmxmddfmwuvnaovehsltgziwopsfdbtecihmiloifpwhbqssuhpmsmkyexascnocrtcjioyrfuaswxrfbhywoubmzbudqquusfwraghnwrewqdoiplbschshpfrzdbetegonoulujoxgtfrvfsyjbkviregncozimrvnhsypgvlmdtdgbljaekvtabmbcdbmzdhjoobyczjeguaorvpoqsqopmlojcycrxtpoouxtggxncnahbwyavqctvvfl...
output:
0
result:
ok 1 number(s): "0"
Test #5:
score: 0
Accepted
time: 0ms
memory: 10360kb
input:
dwnkhsgvmfpjzpnlofendpvvepjwgmwfrzuflngcwmvchenozawonavjkarczvvuquxjwfjgfygstuuroqhaisghamuirsylvuhbyefawzunjdcouhcemhepnitjxpnvgqowyxlcxcfbivktfbqayajwglsnzuloshwyiylyukywnjrwvaxpnkgkmgsihekvolhwmxpkzuswbytpzeqnnkboslafcmxusqkylqroiuzthrzskhyiuwerevnsjpuejjszomemqettmfrhqfjuwlryyweallgblbaicrlxcstw...
output:
52
result:
ok 1 number(s): "52"
Test #6:
score: 0
Accepted
time: 0ms
memory: 9624kb
input:
taiwysfibzjgmalatsphlatassfkxtabvazuxiuvkcsnfudqzfflarlokugvxfxgrxgwcjcwrlhrenxhqrncqcqarouokcnpwxucrtyowoypqmfgexbpdqzwdwhgrixsgifbppkhafxqggsvyakrpotmoeqtgpuieodilewpphgicvfjbssjaawisvmecnkvsvxtplftlcgfaycosrudgjuzvbghjlywncwyzmlceijifevlmbtxfkvuimglzrhfxhywqscwunblxiftebdoyimdtzgblvixjysnnrzsfnpf...
output:
1
result:
ok 1 number(s): "1"
Test #7:
score: 0
Accepted
time: 2ms
memory: 10180kb
input:
eemsxvnwjeggaqmdxbvahxicfdawydtgmovvqrbpeuxhmgjlvihnjsplpwjrcvgbcxrwoolxdazbtvrbnvioozifdgloimangudrconywzwdlvnvapkxvtzmkacbipnvrfnlbxxufrphdvfgrlfnsskbodgdxjtltsyyowgewdbiebmacdquatxvkpuqxxfmxqlgdamxgkfvhcqaqvjkynkxzbtkxruejlaqcuuowbylmazucqnigpnpxczqavhaycwjuneyrktdqjsztjgooyjuwcxwdjrxsiaydjgdadph...
output:
0
result:
ok 1 number(s): "0"
Test #8:
score: 0
Accepted
time: 3ms
memory: 13332kb
input:
avwarmblnotielodndehnrpwmgoxmahbzuhvvtundkaotzxmvijyzhxtaodlnekztvayxxmoadhxqyxpmznuogkxolshgvrymjgaqiffntmojihciacvhqvkrwmdejkynuxxsiuzirlumbkwcfoimojaouxwbhpcvwydqvgveqgcnjgtwsdbvimctcpdcuostrjorezofcgbhcudxudslfcfmitaeedegepxxzisvsravfqavfhptbmzlujdwofbzgfrljrwkydpycmlrqswpcfztuwomivnwxrmtvgzhhik...
output:
0
result:
ok 1 number(s): "0"
Test #9:
score: 0
Accepted
time: 0ms
memory: 5900kb
input:
kjiwehfrgkmnttxzqceyeqsgrvvoufcpivgfibwdegrljefbxgzxoewwlslpwjnmrzhupkwysbfzasbgaqztlnedopxjgdmigqenkrwvwftnkoavkcehbipfqxsgwneikmljtrcejdavbdvclfqmwzlrgrmkaolzpwbvpvodfyutdskzmkavjwyzcwrfpenflgfivytlxvcbbjgqgxefijsjeyqqkstnaadbmheydzfsnhfmaptbevdafmoeqphwzfeexbrgnnunpabpjetzzcdziioevjvnoimajenrlkid...
output:
0
result:
ok 1 number(s): "0"
Test #10:
score: 0
Accepted
time: 0ms
memory: 11492kb
input:
nwvacbyianbkhajfbosjpgdgcrlzfhluvngrmtfxxbfpqtbrhkizdpzdieaalnkjixdfcnwmmilkmukezvvslawfugcsahmblmhddfsmsqcvflefibpmhsihxdhrhkwvpqqozgbywbpcwbegpqxgtsectdhaxjmustxpvmdrxpnzmepknvkgdjkupvkdinrgulbeudfvrytlrufjbmxfkcmqsefflzcnvmeycknaxtlhntwxydixjcvnaddzdboumxtlhwbuvxvpijysyhocgayizljndkhjsyvbcicfkzrj...
output:
0
result:
ok 1 number(s): "0"
Test #11:
score: 0
Accepted
time: 3ms
memory: 11988kb
input:
yupzghqaodpuvsnsxblbogvgzvavftuphnhqjijtcdzdcoaepxunqaaaakydbopgdevmstmhcnoxjyrwavkuwskiekpoaltlkefnqgkknbproiiwkkxdojwtfhaeevigbkyyddbrishugetrmcvhkfhxfhunidvhwruhlmiorzzupdecnwztnvdfsisryzuorkzyolhevkeeyszhapnohverszsihpeylchzduauxcmgfhpzgfjdplzoiztjnizkfnaeeoqjwiisrjzdctnpbttozdcmzbcxazkhfxiujnxv...
output:
2
result:
ok 1 number(s): "2"
Test #12:
score: 0
Accepted
time: 2ms
memory: 9428kb
input:
nfkymyadwbanetkgfjappdvnigxhmjvyolktpbsmqsskqmisryxqyezwnndyzpipolnnxbgvniktairhaegxstihguiuwawznfaepjmjpebaydskonvfoztxzitvwdkwvucydbxmksbkigpidgbnjpnqoowwshwvuuklubqmjyzrtuuougufinqvboovepksvwbrkavoauxphfysvsabucagfqjacvdzobigjwnejnyxkpycgsnamakuvigteimnhtlolzxqdhsroqskqtleyybaymkihmkrxkoidesysbss...
output:
0
result:
ok 1 number(s): "0"
Test #13:
score: 0
Accepted
time: 2ms
memory: 6968kb
input:
eemjzpjmbskgdfbetpwbdowqfbeucslhejsvjqyjplevtiuazrfcrjusyeuakxiewavdarfhovzmrwkmxkpcoqpaehnevesbmzuzcczexlhiyrglowyxjllnphkquhtdxemyiecpuukhwgvrlgeaeknwmtfuwmqyeebejxoqyzlzfyxqwsgkrugylwgbzwdpswsonxnovipfsnqaypdvlheickewpadzoplgoihhnezhicpulgcioluyuvoyvosjzrxdjkhoiltaveyeyuudldfeepcgfjaqmfoczgoftnsy...
output:
8
result:
ok 1 number(s): "8"
Test #14:
score: 0
Accepted
time: 3ms
memory: 11324kb
input:
fylyxatvgpgzwucvatzbxmsosznqirwrwgmavvhkgvexvmfdkjqnvdummdjzfivgyfktkycykgrursrkniruszlbuqtaabecapgjpooemrxolmmybyzktujpofotgdfgngdyxbtvgfyqddrnkagrpefwwjzotdqdjchhhizhqpddijwfiuctrgemggddtjtuanewgrofoxthvewqzrxlyexqbhxnkstukhmmjxnugjuqwbrgehojfxrpysmffmfqmbfdsgnzuqegjdkoqpaajpytpprtipmlwwzzugiklvkx...
output:
0
result:
ok 1 number(s): "0"
Test #15:
score: 0
Accepted
time: 0ms
memory: 9828kb
input:
chjdiwxbkhheyftmsvpwpasgdxjeaezjrvgzulsvtjdppfsdqeqbwqfumvyiqckyhmrvdrsfbsebsikicojnexcnkjdnabcuyxomsfklozvnneqvvecocvaokmhosozhbiywlnqkvtpjwpejgilseflfcpahzaafqzovqrbmqvhhqzrveyscsnkdgnmgoxarrvvzllieinbnhusabbemguaeimnaieavtnhtyahgkxarveowpvirtjlqrqodrilutfkincmqyrilfjjerocumfbhnpstgemxmyqqldtazlda...
output:
27
result:
ok 1 number(s): "27"
Test #16:
score: 0
Accepted
time: 3ms
memory: 13108kb
input:
lernfhclelygquvugbqsqeruujgdlcelovicfrwcjecfjstybzgkdkqselbzlfvevmhhoaihuzvynwmpvgxsuljfgarxgnzhjiwciohkmuljnjrchmmdfvfircmmcqknjxutmecyjbrclyzxeldjhgkxhahbftbhrrjaznmfhldhslqwvmascclwotdacnqvmqwwdgargadvpnywvuhjoymhrxfryzbstxnwxsiulcsjbnlqedzmitskxobtsoluromgbimvmgwveagsbwnhgwlagiukygovscnrvaoukiny...
output:
0
result:
ok 1 number(s): "0"
Test #17:
score: 0
Accepted
time: 1ms
memory: 3996kb
input:
fuhxgpnpetrlqruqnvywbpedbesuidqpynvndrmrksiykfijlicxxbwmiyykwrpsalpcspitsccuwggrnwsewxfbtbuhdtkvdamlebywprwmvlzyjnnhjpqdevtyycpikpcfqzbanzfmamyykbnrezromumjysbesjpnddhgamqfzkagxdbxhdqrzxchmwpycgrhcskrzyxtlsoadnkpvinkypukwohajglndxzzenewqejejxsrtjonjgohnmkkhwwpagxsgykkkszoigmcttcbusszuwqvpjjgomzprbgs...
output:
0
result:
ok 1 number(s): "0"
Test #18:
score: 0
Accepted
time: 3ms
memory: 12164kb
input:
twexopdmkgzgrtvlnrtrrvqhudnhmyzuvukqhwkqeyvkoopwwhuauqvrvwrclhiuvmkbkzroktevpozcplxlxaipbjfimrfgdnfeoejzwjcpdfotuwswxgllbdqrjxmndakjlgmfupocfajzxwdudeahxunzubelwczacarecdwivvfgnjqqapewbeemxcsjbqrmzeoeffntbhfxuxirtkyomeudbwlxfhkoprfittezelbvoehhlorncnytgiowysbttsnumoqmgrzjnliwlyafvohscwketpcnobsigvyh...
output:
1
result:
ok 1 number(s): "1"
Test #19:
score: 0
Accepted
time: 1ms
memory: 6700kb
input:
rdopcckjfrsctztajhwnllofpmvuvqdxohclrnglhpyrrspjnqfbvtudaifawcgzhldcheeoncpwudovguryduvrelejjeqnyynlmzvczfrntshjivohhdirepsivunpqptjepjsdgosuqprimakvemugulqmlfxvlchexwjcqimefrxjejejotqeekhaswxmcxefpmfsttrichvvenvcziqokhdzlbgnqdvpzwfyltfvhzzzbweuefmoapstmuxuwcdtzroetntaixdrrzvcpmdprhddrylpmfksffegraq...
output:
0
result:
ok 1 number(s): "0"
Test #20:
score: 0
Accepted
time: 4ms
memory: 12888kb
input:
qlxkhhookpfzdocaiqrsrnyfqqbyxksduvncfqqyeidpjzcxhekadpnqvkbvtccyyquypswirsvumckyxmlqcrlkuruqtzuhsyjnlnzxwixeydzcbvwvqhuwdqlxgcmitnaxbuaqlkxgnwxpfysgmsytfverptksfdyugynbsxxakyuuizvbvpocpkcsqqlwofbqinttheelhaufwieawbjsqdjblranjcpevpqwvrsufcsdldoziktezrvwltodavfbozrhlvggizefhkgsznlkqdzvwavsbiartljdsxjf...
output:
10
result:
ok 1 number(s): "10"
Test #21:
score: 0
Accepted
time: 0ms
memory: 13256kb
input:
qwilhgbizqsgiidczikomrdeaxkeoqwfzysdakjjwgjpwsngveyfsczpekrnaioclsxdxfnnnfleptezzkxnesatqmmwyjnrzanokegnxgfjtvnjsfifzjbshyrhycdilvndwtsesyxlvmtnhzlysfgfuioxjnuijsydqtzvorwqfjpdvvbadxjywmkhelqxpvrsuxqzfbgmvtjyazmpndxmcnqloaauopnvlybcliqexeonwczikywpwbazpxsirpnweffuwppvhyhluqlrthpjnwesbrnuvosmuacoqyrw...
output:
25
result:
ok 1 number(s): "25"
Test #22:
score: 0
Accepted
time: 2ms
memory: 8196kb
input:
zitjmmdkozuikkqgjhkeuvpftukgyblxksrhvvsbfroardghbqhuvihvjxaqmeldropymuoreaznlyqzdakielkcovhixbedyvbwvirsnxstjestroljlrnfgcqqgifonfydimekiymhhfdqqpvezdnwvctfivrjuwycdphrrgxzomtbqljpkjbnqirxznakndexpsaoqtizllrlpzcqbupzpzjhriqrkzpzmyggfpqxvrccivyohluqmbiqvjhjuomczamludynwlpnlzbgepedtfpsjhzeyedjyqklmqrk...
output:
1
result:
ok 1 number(s): "1"
Test #23:
score: 0
Accepted
time: 1ms
memory: 5752kb
input:
wrekifnafzaderenkiozevnkundiftaemamzqhuzvlggyowwvtdpeupzwofswavyquzjlkrhfxmfbtsukamdapfmfinpjftvcfveixpwfaubcrrqbepcqyxagwxgiykwyntgjpipzsqdmejbpkbdhwcnofxpqluuxptumrxyhwytvefrezwrrfllhezadhucgxfyfbjluzqnqzxfnziwhfrdkhphioleyhnjegusawjffdjztzwckcjsvdptxfjbfaifbncvyovueqbqnkjmnsxyzagdxvuxgtzeugktnjvt...
output:
9
result:
ok 1 number(s): "9"
Test #24:
score: 0
Accepted
time: 3ms
memory: 11488kb
input:
jasdfsbxdabmpsciszbzevshtbryojwtwpocbmcbiuijcivvnaithskkqjyfikdgiwtnssyovkmdukienkdiudtjouqatbpujyopvzrxsqpnnkujxunavvlequgyuqkdbqsebukfesqhvqqalwnhgzqlhiafieaxipegterzuqzlpnnbqzwdrrmhprjagjuyzspjacjunrxqzrkxjcpasctmdzvnlqxoztshswolotfcoovchsjlntnpuyxnasoahxngmzwaqhxdmgwqcjypawgzqypwuhllwidaktovolzs...
output:
1
result:
ok 1 number(s): "1"
Test #25:
score: 0
Accepted
time: 2ms
memory: 7212kb
input:
rtbuzdrrqermdipukrkkrkezrapjflfzhiwqyurrfexsaqzgqqklbbvljkczspqqnhtzwmelixsyhlyigzacrvqgviwxbiswmdmlhoskudffweyrivmcfwjuthzfmfhmvqmmmxvaoddnfnjhuwdsgyhxwotqwvenzpatynteawukyljhnmftktqpllfqqlawkzdgwtfuuggzymvuyfwppuumuknzrasbdmxprhkopvalrtkvtzmbzzfwxgnzkxilwhrsyzdoshsbjnuvkyljbmjajapuzcrjamlnvqrtxeuc...
output:
0
result:
ok 1 number(s): "0"
Test #26:
score: 0
Accepted
time: 3ms
memory: 13384kb
input:
itwelbhqwororjzstyxtmqtdvccovelcxksenflsnqxnznbikfsxwkprcmgqhfpfytlsqorsijxgtlwdlbehlwnjqmvjikhkvapecgkazffgqjvjxrkvrgelxnqxuffkqrajlbdgqgedmelxxrhhjgdmrurphldzkmthfqqnwtlpyztvuksjqprkdamczqimxfqbamvqwvltpnclseeogbpijgskoxflvzdyumwdhfsinddxeegrxfczaflomvmqndruzgqjtpblxcqyhireekrbyvorplhorlzzihyqjayc...
output:
0
result:
ok 1 number(s): "0"
Test #27:
score: 0
Accepted
time: 4ms
memory: 13712kb
input:
hybefislodltkilhaaayfrhicxwrnzcgjtcagilwjukxxztyobzqmrqfbkwiwrjoyrqlpqbfzxzufwcmdngwowamuhdameasetaprphhrlgivknwdwpkbzsvagwspyhvedrchbwrmgczlwyddjxyeqqpoowgqlyrhmzzxydbxlxvzqqtjxjtxtuswkyvhkuajloyrxtpimeppdbsrstamjmolkybsealsgyluaeczscuyrvwnbquveejasultnkgsjmnzbtmunipvtmfjzpohfyljmkulapigcpucdrtoluu...
output:
0
result:
ok 1 number(s): "0"
Test #28:
score: 0
Accepted
time: 0ms
memory: 13556kb
input:
ajffkzritrebcsmzxetvrxwfdolnjsjmvgrswdpzdxwjqgodtkdndndcemmttxtmtxoppxplmyjqwhuainihluliukpvegpxatswjrsdsmspwriykqhrklvmpmgfhnkznafxlassoqwtsytfcmasnxwmrgajskqrvjfpvssqebvzbugekavosuhxvncxbzkthgorqdsxxnfcdquskvatckicmfkarvhczlitpvjgynxhvyszpyazawfrgectanffjghwtjiqdohvinvdzfycayskatwswjemtkritjlwewjh...
output:
0
result:
ok 1 number(s): "0"
Test #29:
score: 0
Accepted
time: 0ms
memory: 12412kb
input:
sbdgvjpezlodulhkbupofawgglwpdndjdckzqmdhqxvvvouzeyhwkzpmsspyixbtblvsjrixqcdkffwygzwxjfvrwvcpehqqrtncikkzsgvuifkksfcmvlkdhumqiuzyyhhqsjmsasxaxtfcseuskllzxsplggogrxduleprotuvueggkgrhpdbelytwefadmzfldmvezitmndmtrfokyeqssjlyfwijktcrfcmttpilwagpujpniciuughglsfjdebocagpulqpffjyqfwzlcciuxxkshlkdmdwgvszowpa...
output:
1
result:
ok 1 number(s): "1"
Test #30:
score: 0
Accepted
time: 0ms
memory: 13672kb
input:
usbtyqtiqbvmpqoqvorlzifleakgedgfdrhjaubkhaankwqrjmptklmovcwnbedjvlbmrlepubzqmmnyabqeucapwaxrzhopfukxjbfeqqaogiysexwdiezfhtecryomllcgbbkiosjpxmsfzxjmevlpjthwpfxlxedhkmrivphzobzxwfpqhzbjtaomssphqbaauapbagdzbfftfrqcnmivdahprwxpldawpdfosjdkbueebovxbzpaoowjggqouojosnquvgcnxxxownpraqyecwcuaiifmtifrtzwrpyp...
output:
2
result:
ok 1 number(s): "2"
Test #31:
score: 0
Accepted
time: 3ms
memory: 11580kb
input:
ftytnmimmbiikqnvvzcmswamqjvevlzvwzvmwtprqdxdqqdmutnffzhrspfomhxkubfbobgdarfdhljtqqfstiydrcmgqnjkgejjjtgufrelucjhonwdakveddrtubpnhdexcouxqeynsgkifzmsywfhyjchrdocsxykxepthsnbbfolcmunxrlvgkibqbmpyuytwbokdiqclznbndveyfqmkjyblnjbyqxichfncdtoqdektpdqhibcsgevkmcegiohkfbazkddshtvuqtsydywmobvjfcewbwsdzvvbnts...
output:
0
result:
ok 1 number(s): "0"
Test #32:
score: 0
Accepted
time: 2ms
memory: 4992kb
input:
mlqoebrnadbfqrczgnzusffqhefqeifeeyvgiexbhmjxydgxblskskhmbnyrpkqzsrzitkaiqkjrqwicyoakknzqrlotfikastbdzqawvzrqwzcitgtyxmtwnjvjgmmwhaulfpmyhnzjzdalbyqlnitdglqbmnntvqxdjrstuupdsevvqfmhhgqvzfmzcwoxloefduropcfblmpwzeacceolvtogthfckwrldseilikzgykfvoowipdbfncesdsghfxtzaqyffulxjycfqcrpfgujgzuqayrzxvlecxphnvc...
output:
0
result:
ok 1 number(s): "0"
Test #33:
score: 0
Accepted
time: 1ms
memory: 5924kb
input:
nhyfhidusidywpjfvogngnwzdmdfazbbrbympmxldmynabkfhaapubiiohmjosrwxyfhyuvgvtscumbqvcqduuaypduawstmtcfbdqtbjqmpgnxtspthvlghfknudvtivqrkajoaeanamboscaggebvmwuxgdlkqjhyeecntdecxyhhwwmovswuywjfgfoejictzdpfijjvfojidykntzezhamgyxtyneaneobibmcwlrctpyjesneugwokzgirhysqicntpcpbgesmpgomsrsmrjhujxoghsrfsssvsngux...
output:
0
result:
ok 1 number(s): "0"
Test #34:
score: 0
Accepted
time: 3ms
memory: 12424kb
input:
zskxagpwjzojdbhgafthlzqtzvsurfcsquymkenmpbwbhmksiesdsyodnauylbwheubeoarrsuxzzlnwsxppiufgtbpyybfvxyltspesdumhxywqyuohubppqbnfpzjrruyfrwmpzvqjvwlodsxqnhadudtkisgcjekwbdbcslvpqgaskqxefxtukfacidrrhcgdilothyjlzfhvwvryuytkgxvaknpzfkvszuzjakhxfeidtctyhgwfyrpezrnxzwzwykcyhrwzwdeccxrpbttxvytmoivpjqzjwzcubnih...
output:
2
result:
ok 1 number(s): "2"
Test #35:
score: 0
Accepted
time: 3ms
memory: 11324kb
input:
tahusokxrujrbapbsulumbwcfjzzzziuzkaugtbcbnagcumjhxsaviyvyhqyaqeofyhmvudfrcrilucxtmxcfxvitcnuewzrklomacjtlnaaqgdggsvgyeaekjkafkhxctzdegcyzyhxfhofrnfjzftaptakncmcrzcmbwcfyxrfusamnodjnpxojfkrjqhjcmwklthpqxprurnuakjrqtnublaudoesgnjxadexgfvkprzqmsrvimzxvjgrbvzozzsfaojbgqehkvrokvbvwgcevqbyimfjuqtfxbkhayhd...
output:
1
result:
ok 1 number(s): "1"
Test #36:
score: 0
Accepted
time: 3ms
memory: 12376kb
input:
aeopmcmwrhguiwffrvfmijwdutvhvzgdvuaflykkwerynjfneclfafkusghbszsjmynmjslvcebzylkvvxasdftmbbemukudtizeuumhaxscvqnonborllzznvomcuifdfyhhgdqsbhuiinxqtdhkqvkngsqegfnljyyvwzhxpnaffajjcmkcdxqvxfwivskhcolqbyqyugnpmgykpmrrihxblvjpkzegrcietflntaneaphunzzdzcclkquwjsdrpdoldvqkbxgidnplshogjbpxmygdsuopaamuxkzcdtt...
output:
0
result:
ok 1 number(s): "0"
Test #37:
score: 0
Accepted
time: 0ms
memory: 12800kb
input:
joodulqotoczxazdkimprykjknkmujncmpycodzpwtbjrrbndhgbxxekaybkzsigroqqrpvmhnwhjornbmkfyyzfojojevqzwydgafhnxqtnokzoxlorvslfdaluinzespzbxhkdcramydwulbfwsowfuniegxqmmvvdajqsrkbsctkrqlqdiahwtmqcqvbrzvzkvdxlshpcjiwfcdwqtyxagpdblwrslmqzkbfjyxrhjttmrxpkcyyzuqbmjehhgqdfygovbzvcbqphkhvvlluijvktffqavvylsiwsraco...
output:
71844
result:
ok 1 number(s): "71844"
Test #38:
score: 0
Accepted
time: 4ms
memory: 13932kb
input:
lybjbzfknkyvboxthhvnvaqjteuzpcmjbjnjwfzxfddznavcrqccwbnictqsappurkwggncfaglunyeuktnnchyqbuiteeviwtqzlxhhhbrmfqyncrvznevlrunvxvfohrwphfwknsaapivwjvelupynxmatpauycjcyzimxedxpftlmqwftrndnkrrugysbbejxxcnqcxtbvhdxembcesvxioprsiknxudktqlhizesohqupjxccndcqjualdjlijenxmtqxoihjiviyutlnxznblyppdqiqrtedsymvwme...
output:
89902
result:
ok 1 number(s): "89902"
Test #39:
score: 0
Accepted
time: 1ms
memory: 7792kb
input:
lzvkohlegolcyfulxkpwzxojhfkvhtlgfdotseoehggarsalneqxjsbiighvikqewqgwbwqqlbztlknqsajhajohaldpuinwhruamtvgcghtemmketzdfokydkbcmnuzlkvsswauqdivjlzsmbovlapjgvhkkpjtqxpsmielrdquvqahzgiusojmufnaxbjumswmizbpfpvntbrngcvpnqkdctxzkupycbpiqstcabnrqfrdezcwybqdjeedeforkjgrxvjtmycwqfltcxjvskxjrxtkmkoftquzrneaqjbl...
output:
20798
result:
ok 1 number(s): "20798"
Test #40:
score: 0
Accepted
time: 3ms
memory: 12164kb
input:
oqharueledfczgdcgyweucrrcongczqtkmgpdwnidncwjkpgplxiloytgaxlzzcywijuzymgpjicddtrpigkgpfqsjkeqxvjvjaxhytivhwnqbdwncumlebgfwpybdqlfmbktataxxughlselpdqvwnrsariittqowwbywthpnghmbaqsewdjyfppyqikoxrqlflmvyfhpmrmswwqnpucjtlmpvqkvgvogzhtitjgiaukfhrgrrbvnxvejolakkdfipqguuzrwgdlydsrostddyudcsssyetzjjafccmjugh...
output:
71962
result:
ok 1 number(s): "71962"
Test #41:
score: 0
Accepted
time: 3ms
memory: 12404kb
input:
udrqbueehmjmsocxltmfzejwlbilsrhgeijeruvdeuxpxxiplvwffhhymxzppqvknrjkxvmsmcjrdxonlgmdjdltirmtyhfkjvfkqazjtkiwyfboofyiyyijvkhauxtdbewcafqtzlctdjdjyygdmbtkqqnuhwzztywhzqfxrxloqgwbqmfmbsxevpdpkkkjpgxbybmxkxqleoklasrzeayflsayczxjweazmurayimyagqltxdczeddahkzultipvnviubmwzhumlcdjayluwknwzcfrwpauksdjbjruime...
output:
10026
result:
ok 1 number(s): "10026"
Test #42:
score: -100
Wrong Answer
time: 2ms
memory: 8712kb
input:
nputuglbamiqdmdffqzlvftxjpborzpsurbcclrvberfqbvfzypsfcdqdlsjzyeizgbwswegoppffvflsdezkhgrqmvmlonemezckisygyquzvtmsmrbqmqzmydrzuhowoxjiqzrappaasqrjfjhatgincwdbmtgyhlcfxhxaccdaazfcwvebruexghyjvtasrhuosuhcsmqycffivcxrzmihnojalgogeuusgrfuguyczbqulmehxbtboeuwksjaezaqoerebnxokovxtfdcrhbqhrwxlvmmypfqreggzfo...
output:
32390
result:
wrong answer 1st numbers differ - expected: '32389', found: '32390'