QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#32882#1861. Nondeterministic Finite AutomatonlarryzhongWA 3ms3576kbC++17880b2022-05-25 12:43:042022-05-25 12:43:05

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6

output:

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

result:

ok n = 6

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3576kb

input:

20

output:

0
0
0

result:

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