QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#642265#8044. Pattern Matching in A Minor "Low Space"MaMengQiML 1ms3828kbC++231.6kb2024-10-15 12:29:092024-10-15 12:29:11

详细

Test #1:

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

input:

3 7
aba
abababc

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

1 11
a
abracadabra

output:

5

result:

ok 1 number(s): "5"

Test #3:

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

input:

8 10
possible
impossible

output:

1

result:

ok 1 number(s): "1"

Test #4:

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

input:

10 21
pleasenote
theunusualmemorylimit

output:

0

result:

ok 1 number(s): "0"

Test #5:

score: -100
Memory Limit Exceeded

input:

26 9999990
abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzab...

output:

384615

result: