QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#112064#1861. Nondeterministic Finite AutomatonSegmentTreeWA 2ms3364kbC++171.4kb2023-06-09 18:18:212023-06-09 18:18:24

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3256kb

input:

6

output:

9
0 0
0 1
0 2
0 4
1 3
2 1
3 5
4 2
5 4
13
0 1
0 2
0 3
0 4
0 5
1 2
1 5
2 1
2 4
2 5
3 2
5 2
5 4
6
0 1 2 3 4 5

result:

ok n = 6

Test #2:

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

input:

20

output:

0
0
16
0
1
2
4
5
6
8
9
10
11
13
14
15
16
17
18

result:

wrong answer n = 20, l = 1 is to small