QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#554961#8044. Pattern Matching in A Minor "Low Space"HuangHanShengML 1ms3772kbC++20560b2024-09-09 18:23:382024-09-09 18:23:38

详细

Test #1:

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

input:

3 7
aba
abababc

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

1 11
a
abracadabra

output:

5

result:

ok 1 number(s): "5"

Test #3:

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

input:

8 10
possible
impossible

output:

1

result:

ok 1 number(s): "1"

Test #4:

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

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: