UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time

answer


这程序好像有点Bug,我给组数据试试?

Details

小提示:点击横条可展开更详细的信息

Test #1:

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

input:

15 100 948805069 0
lxtotqfsohggevl
5 6
11 11
2 8
1 12
3 7
10 13
6 10
3 11
11 14
5 9
4 4
6 14
15 15
1...

output:

8548

result:

ok 1 number(s): "8548"

Test #2:

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

input:

20 97 989348567 1
jtfafthctxxtdwubtzpe
741807267 412148822 143552381 499390273 886209029

output:

4415

result:

ok 1 number(s): "4415"

Test #3:

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

input:

1000 991 932742221 1
abaaaabaaaabbbaabbabbabbbabbaabaabbabbaaaaabaabbaaaabbaabbabbbabaabaabbbbbaabbb...

output:

872177429

result:

ok 1 number(s): "872177429"

Test #4:

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

input:

988 974 991403639 0
ffdbagjiabhcbhhafccifcicdibbegbfjciijceebdcihaecjcjgedabiafhcebfhjhafihheafcibeb...

output:

540230197

result:

ok 1 number(s): "540230197"

Test #5:

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

input:

980 1000 972034103 1
frgCgtcksyhiuBkjnoiutffkccaiCdmjiDrsqkmolrafoxsyxpjencxCjlmbmDapxifzDlpkzfDpqlc...

output:

99250938

result:

ok 1 number(s): "99250938"

Test #6:

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

input:

992 995 920406419 1
izWVrAwtgveRwqPxtpexjuooVoqQwvYSAXylMiGgFkNliqrDmPqUOIgnuPhPLGkXOFPGaHfwxJfGedho...

output:

610154493

result:

ok 1 number(s): "610154493"

Test #7:

score: 5
Accepted
time: 9ms
memory: 24824kb

input:

50000 50000 939141901 1
caaacbacaabcccabababccbabbbacaabacaababbccbabbbabcbaabababcbabacccbcacaacbaa...

output:

60595922

result:

ok 1 number(s): "60595922"

Test #8:

score: 5
Accepted
time: 20ms
memory: 24824kb

input:

49486 49831 944412583 0
bhgghgifdicccfceaegchjgjjajbgdjdijcbefecgbffdaceffgdadhgdbhiddecbghcbgjjeibi...

output:

129707546

result:

ok 1 number(s): "129707546"

Test #9:

score: 5
Accepted
time: 29ms
memory: 45352kb

input:

99699 98499 950617859 0
abbbcbbcbcaaaccacacbabaabbacbaccacaaacaabbcccbaacaccabbbaccaccccbbabbacbbaab...

output:

1038586289

result:

ok 1 number(s): "1038586289"

Test #10:

score: 5
Accepted
time: 34ms
memory: 45356kb

input:

99028 99227 917378563 1
ahfbbgbdgchjffeajeddgichhbhibaehecddjebejcfabcafeiecfdhccjcdjfegjafcggigdcfi...

output:

670219368

result:

ok 1 number(s): "670219368"

Test #11:

score: 5
Accepted
time: 7ms
memory: 45356kb

input:

100000 1 971758357 0
ghddhjihfjjeffbgciicbifaaajhcachcdgfaiebgjjcjbacgccjcahddfcdefdhifccaihdjghibbd...

output:

621613165

result:

ok 1 number(s): "621613165"

Test #12:

score: 5
Accepted
time: 23ms
memory: 45356kb

input:

98742 1 964324297 0
qFQhCALneJvtkKaazitvKgmyzkCrFoyfEgifFapKxZCZAxXAQgohQSGsNGOnlPgsUlzjHFixsQQubemS...

output:

662652988

result:

ok 1 number(s): "662652988"

Test #13:

score: 5
Accepted
time: 546ms
memory: 414860kb

input:

985392 988924 940107673 1
bccsecgtjcgbmpibjscemkpddhlngofmoeirsgsqgfkrabfghdgejhabjpklancoadqodfshha...

output:

237224621

result:

ok 1 number(s): "237224621"

Test #14:

score: 5
Accepted
time: 538ms
memory: 414864kb

input:

991298 1000000 946066763 1
ichmmgnophgdeafqhakgpboaqsrfhsksfebmtipmebtgbjcokqtqhjbtrgjapainhdgdnehdp...

output:

216882804

result:

ok 1 number(s): "216882804"

Test #15:

score: 5
Accepted
time: 837ms
memory: 416232kb

input:

1000000 981472 921606403 1
MvCbDqyAGEuwGakyHLjqNszqgIhwzdzmbcxtKeAfIrwflJgBpFMeodddwhsEHkdIoAKBmJvHM...

output:

589409657

result:

ok 1 number(s): "589409657"

Test #16:

score: 5
Accepted
time: 827ms
memory: 414864kb

input:

989926 1000000 916856789 1
fyKikxprDzrMiGcmGgDpjmAJFMCcsqtdGClCgBexxIBFwbdpiyjkkkBCijnlduDlCqCiEcoja...

output:

914517434

result:

ok 1 number(s): "914517434"

Test #17:

score: 5
Accepted
time: 1035ms
memory: 414860kb

input:

989896 990053 929409779 1
iWXAmkZnIeWwHQlTNEHyqsPyufZrBJswNzqrbnyardPhXqhEpkWHSHvCfmEswhaztzRsolrESd...

output:

893455734

result:

ok 1 number(s): "893455734"

Test #18:

score: 5
Accepted
time: 1010ms
memory: 416096kb

input:

999316 999505 999621019 1
CMCmzhadDuqpIItNPywXBqYGsmtCrOHZRgBkEgsrTxlnNnlYdaPocSyNYSKKdJvoEINCpDzcXy...

output:

502774340

result:

ok 1 number(s): "502774340"

Test #19:

score: 5
Accepted
time: 1041ms
memory: 416236kb

input:

1000000 991480 942154177 1
NpsuQfVPdBvubQzKOQdmRgMTyHAFwJJnVzHLKfQNcGgDzITJferBIqATCjcpMRvHRdhhSvZSF...

output:

334208970

result:

ok 1 number(s): "334208970"

Test #20:

score: 5
Accepted
time: 1042ms
memory: 414864kb

input:

992201 999520 917378563 1
OFVtpUtPiuJTRRQAlojpeUCjltLorquLOWLDvczOPwfkFiapQQOiTtjYgFiDVDQsRUTGmmWGXU...

output:

49315597

result:

ok 1 number(s): "49315597"

Extra Test:

score: 0
Extra Test Passed