QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505602#3437. Peragramsxiaowuc1AC ✓14ms10608kbPython3206b2024-08-05 06:22:562024-08-05 06:22:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 10508kb

input:

abc

output:

2

result:

ok single line: '2'

Test #2:

score: 0
Accepted
time: 10ms
memory: 10568kb

input:

aab

output:

0

result:

ok single line: '0'

Test #3:

score: 0
Accepted
time: 10ms
memory: 10508kb

input:

a

output:

0

result:

ok single line: '0'

Test #4:

score: 0
Accepted
time: 14ms
memory: 10568kb

input:

abcdefghijklmnopqrstuvwxyz

output:

25

result:

ok single line: '25'

Test #5:

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

input:

zzzzzzzzzzzzzzzzz

output:

0

result:

ok single line: '0'

Test #6:

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

input:

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...

output:

0

result:

ok single line: '0'

Test #7:

score: 0
Accepted
time: 11ms
memory: 10468kb

input:

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeffffffffffffffffffffffffffffffffffffffgggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...

output:

0

result:

ok single line: '0'

Test #8:

score: 0
Accepted
time: 5ms
memory: 10464kb

input:

ukpxgucosfszxcnwbxmgjsmaoqvrutuqflnnhsebzwdwbqvenhkyayaqrwjnrfewqtkznobnkejnuerjockqckgvgrjxxpwniiny

output:

11

result:

ok single line: '11'

Test #9:

score: 0
Accepted
time: 11ms
memory: 10460kb

input:

mpzxvrbwsiiqkzamghuqtlrusloxfurtkqshhvebdmrqoseubymujdqepedwbvrlllsvgywlnqbbigxjgkgsnwwedzcewvrkglfokdaztdadlzpslxkztifyjkegfvqmhxatcasygudrvsjhptilbpllzqtfljruitpkwjkcdotbgdiyyqlcfwpfmimatdwdyopuxawdosewxmwvejzlgosuyewtjvyijoeiqdlevpcsbbphkptsflpesnzdiyltoscevniqdmignzoaojuuwjaqxbuhzfbnzfrusbkxqugf...

output:

15

result:

ok single line: '15'

Test #10:

score: 0
Accepted
time: 13ms
memory: 10576kb

input:

ofygppvqdyzecvpzuvxcfvumqhyknaudfujwkeopcnvfikgeifinbdbtmzfzcadjuoggtwxvkscudkblsjatobmbduchuhqqwyzpvwmhrrdwdejvojqemfhrzkyvtrnprmgmlvvcozyrdhptsfygkfylryglrucjglxtgtxwsvnxeerwkrdwydiqdodvihgrsdmawkwqhmqmqhkcapzyuhqyxvvidbbxenydxuvfiltzufbuvcvpjlpjhkrmlsjshhxheuomghncmrxjtuzffqoobhaozkiirfpxcdmikzmz...

output:

11

result:

ok single line: '11'

Test #11:

score: 0
Accepted
time: 10ms
memory: 10572kb

input:

dvkyipneqrjybfrdvuiciwrbuhhvlmzoijpsyezpvipznjcldmpnjgpdqyzbmyrujgpkkoziyqhnzlyexougwjmmjnpvnhswphgcxhmvatibghgdxamtlaiwnxtaglwyufaromoohxqngysfagylgijvicvqquokboepcsgjrwyzwrewzfjgnsbxuzomtcxwtdlvxrhppfolyvjyasgpmjpjkdvdhubaxnwvefmwkchjxtjzlpraagjlleqszstyfrvlwhhikrrjkcjxtcxuighvnxnopiowbkkzrtidmbnw...

output:

10

result:

ok single line: '10'

Test #12:

score: 0
Accepted
time: 14ms
memory: 10608kb

input:

fmngccuxpguiubqvlftilunjhbkudjplxfrzjlyyuvhqyznlggusdhdkkneoyvzxaszjdzkzutruueiblcvqlyavoglodmmeelpkmbljuddpjlswpnmcnoadwlsaaeegrvqfxeotjsksfcpvrbzfsziolconiutzqmfpqvkznvrvzisrkrycriselhrtbkvtwckoxvnnshitrckbtkfmvaqghhbkuyeqaqfalupfdxzvblyuwghtgzznhcxdbdtduadfvsnyrmvsxupvayogzpvgusjxyfasfgzcamdsaymy...

output:

11

result:

ok single line: '11'

Test #13:

score: 0
Accepted
time: 13ms
memory: 10468kb

input:

vujxoffgoxyiozazrbfkypcqwkzrxfoubxtsezytyydmxfmpgtbhidxeqwwnemhfjaxqbylawomutalctojcuigkhexnsesegsuisfiotukoxxsqmduimdsvjpicvcgbwajqhtfcqrqnrldfoanadfxmwhormuskwebfxihnbacslgxzgmclrzxnjogxibhhhimeswuuwwmhemgmaixukxjvlqsvrzeyktecpawlzlsfzasblrvxqfsbvmxolboxuualvywwlqbmtvoenlddqvhlhgbuhpuekwphuodiegwx...

output:

11

result:

ok single line: '11'

Test #14:

score: 0
Accepted
time: 14ms
memory: 10464kb

input:

anwtxlorauvhcmsigaruieebnvoniihkyeexpsopmmzrytzgvsadyggmdvbnfkydoebgwrxldyedrdknxmsyvzmaunozzmfqsiwobvbfwfknkwckjxigwugsjwtiiyyaiwrksurqcbdmaiylfgrdczvlwowgpwjxtcjnwadyeineslrxuiawhxkfmimbevaxxkmvmruscjwuunuqxwnhuzmghajlxjluvzsiroatxzptojkogzxaylihmrujchgyhyiamkvllkecwqqcpncpykymdtwfaefjenlqagdltjpp...

output:

13

result:

ok single line: '13'

Test #15:

score: 0
Accepted
time: 10ms
memory: 10464kb

input:

fxacytnhsouvzurdpvgbwxjbojrcvbtaatcaorihgcehzwkqtsrppbqemjghmbknuonigvroayvbwhrpalgpmytaibhuctjyixhouacwyzzugrlgerysqtsavbwzvgydfhtzhxyiwxeeqqnuhnozggzbiwdfebkjidiraizygeeywtvfgjfnqgqaethiurrewcwykvwsbcrxwofcxkrpsirxbyhypbcndylpwhkzmdziremoogeiovhrwppnqubvummqwwqizrssvghlmntckbugslwkfxhaltshskrtblmw...

output:

13

result:

ok single line: '13'

Test #16:

score: 0
Accepted
time: 10ms
memory: 10444kb

input:

wgdqjovpnljchcvceuswvcxhbuciwvvsdakmogderpiarfcxzwtuyrbanfijcfdgfouvuabnpjpgqtepqzloqoqfuaqyfugmibkedlrsxganzgfpgqgyhwedxwbeqitaldeoovinbkbdriszayxhxdkwaoasyvtjyxzptjcwtfzknuloulvrqgpswslunedmdedynfvglwtyqgolrkeisuaomniztnnxtqvgysolphlfqashkxpctsshfcizpyyiotqomezbolieldnxcfbvxteevmfmkdwbxopluroieyop...

output:

9

result:

ok single line: '9'

Test #17:

score: 0
Accepted
time: 14ms
memory: 10576kb

input:

vxfpqtokorlzjcgwfzqpkvxauddmkebhdgytbpgrgrrpuznbydslzrnvusjgzkqcsqyvfennxgctfsufvmqwdeszwbivoyagoycwerjbxovegrjdgcalisngvveltesjcwfinrjmfgqnabqgdqtnkguibytwcnggllqaezmlieyiipqlhjzssvcttvqxlyfwjvxqwlbeqaoyrelaqmukhwdcuvzftgbfbavymyeeyterzrsrembnjfsdctkyandboazcyegzzmqydkqjxrzgyrldkxbkkgmagncgtkhswyta...

output:

11

result:

ok single line: '11'