QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#142700#6844. Suffix AutomatonqsceszthnWA 7ms52436kbC++142.6kb2023-08-19 18:06:142023-08-19 18:07:21

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 50872kb

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: 3ms
memory: 50428kb

input:

banana
3
5
10
16

output:

1 2
2 5
-1 -1

result:

ok 3 lines

Test #3:

score: -100
Wrong Answer
time: 7ms
memory: 52436kb

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
28 96
-1 -1
-1 -1
-1 -1
-1 -1
22 96
-1 -1
-1 -1
-1 -1
-1 -1
66 96
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
26 96
52 96
-1 -1
-1 -1
-1 -1
89 96
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
-1 -1
...

result:

wrong answer 21st lines differ - expected: '1 69', found: '28 96'