QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#588413#6419. Baby's First Suffix Array ProblemShui_DreamWA 1449ms6480kbC++233.6kb2024-09-25 10:43:052024-09-25 11:42:05

詳細信息

Test #1:

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

input:

2
10 4
baaabbabba
2 8 3
1 1 1
2 3 2
2 5 4
20 3
cccbccbadaacbbbcccab
14 17 16
3 20 17
17 20 18

output:

2
1
2
3
4
15
3

result:

ok 7 numbers

Test #2:

score: -100
Wrong Answer
time: 1449ms
memory: 6480kb

input:

8994
10 10
abaabbaabb
2 8 3
1 8 5
6 9 6
9 9 9
5 10 7
5 7 7
7 8 7
5 6 6
1 9 9
3 9 5
2 1
ab
1 2 1
8 6
bbabaabb
3 7 7
5 7 7
1 5 1
1 4 3
3 5 3
5 5 5
10 3
aababbaaab
3 4 4
6 9 8
4 6 6
7 3
babbaab
5 6 5
3 6 6
1 6 6
9 3
baaaabbba
2 5 2
8 9 8
1 4 4
9 2
babaababa
2 4 4
2 6 3
2 3
ba
1 2 2
1 2 1
2 2 2
10 2
aba...

output:

2
8
4
1
1
1
1
1
6
7
1
4
3
5
1
2
1
2
1
3
2
1
1
4
2
1
2
5
1
2
1
7
4
4
2
1
1
4
4
2
2
1
3
1
2
1
1
1
1
1
1
1
1
1
1
1
5
3
4
2
1
1
1
1
1
1
3
2
1
2
1
1
2
3
1
1
1
2
1
1
1
1
1
1
1
1
2
1
1
2
2
1
6
9
5
3
2
2
2
1
2
5
1
2
3
2
4
1
4
5
6
1
1
1
9
7
5
4
7
1
2
2
2
1
2
1
4
4
5
5
2
2
1
2
2
4
1
4
2
3
2
2
1
4
2
2
2
2
1
2
...

result:

wrong answer 1st numbers differ - expected: '3', found: '2'