QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#402294#6844. Suffix Automatonucup-team2335#WA 2ms8104kbC++209.5kb2024-04-30 11:11:032024-04-30 11:11:07

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 8076kb

input:

ccpcguilin
5
1
10
4
8
26

output:

1 1
2 3
8 8
1 2
4 7

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 8104kb

input:

banana
3
5
10
16

output:

1 2
2 5
-1 -1

result:

ok 3 lines

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 8096kb

input:

rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
1000
752
397
968
637
706
758
780
574
1032
599
431
1038
700
868
252
1084
813
277
565
112
69
997
222
897
931
75
200
360
698
196
31
971
1064
591
485
179
528
71
45
422
272
925
8
197
796
116
187
983
1057
939
...

output:

-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
2 70
-1 -1
-1 -1
-1 -1
-1 -1
2 76
-1 -1
-1 -1
-1 -1
-1 -1
2 32
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
2 72
2 46
-1 -1
-1 -1
-1 -1
2 9
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-...

result:

wrong answer 21st lines differ - expected: '1 69', found: '2 70'