QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#770606#7188. Aho-Corasick Automatondongyc666WA 3ms18524kbC++171.3kb2024-11-21 22:35:442024-11-21 22:35:45

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 15268kb

input:

2
0 0
1 2

output:

0 0 

result:

ok 2 number(s): "0 0"

Test #2:

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

input:

2
0 1
1 1

output:

0 1 

result:

ok 2 number(s): "0 1"

Test #3:

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

input:

1
0
1

output:

0 

result:

ok 1 number(s): "0"

Test #4:

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

input:

50
0 1 1 1 0 0 4 4 3 7 1 11 1 11 2 15 13 11 4 11 5 7 22 17 4 19 19 26 19 27 3 17 9 4 14 8 15 33 33 33 9 40 24 18 5 28 10 1 47 25
20 20 31 1 43 3 3 21 3 3 3 22 43 3 1 20 3 43 43 20 3 20 1 3 20 20 3 1 43 3 20 20 20 29 3 3 3 3 20 1 3 3 3 3 20 3 3 25 3 1

output:

0 1 0 0 0 0 6 0 6 6 6 0 5 6 4 25 21 5 5 1 6 1 4 6 1 45 21 4 5 6 1 1 1 0 6 6 7 11 2 4 6 7 6 21 1 7 6 0 6 4 

result:

ok 50 numbers

Test #5:

score: -100
Wrong Answer
time: 0ms
memory: 18524kb

input:

50
0 0 2 0 2 4 1 2 1 1 8 4 9 2 14 5 8 4 15 17 18 5 17 1 1 14 6 14 3 12 30 27 12 5 13 29 32 34 2 4 3 5 7 20 37 44 10 30 19 8
36 8 13 13 42 8 13 19 28 36 36 36 8 8 19 8 13 7 8 8 8 12 7 46 8 8 8 13 7 8 8 8 13 36 8 8 8 8 36 13 8 13 7 8 8 8 8 13 8 8

output:

0 0 4 0 0 2 4 0 0 1 1 1 2 2 8 2 4 0 50 6 2 0 18 0 2 14 14 3 18 25 2 26 7 1 14 21 26 25 1 4 6 4 18 27 26 32 25 4 14 2 

result:

wrong answer 31st numbers differ - expected: '14', found: '2'