QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#778089#9291. Efficient Interceptionbobcheeseburger WA 1ms3704kbC++1713.1kb2024-11-24 12:35:162024-11-24 12:35:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3 2
1 2
2 3
4 4
1 2
2 4
1 3
3 4
13 18
1 2
1 3
1 4
2 5
3 5
3 6
4 6
5 7
6 7
7 8
7 9
8 12
8 11
9 11
9 10
12 13
11 13
10 13

output:

3 1
2 
4 2
2 3 
5 1
7 

result:

ok All answer certificates are valid. All answer values match.

Test #2:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

1
5 4
1 2
2 3
3 4
4 5

output:

3 1
2 

result:

ok All answer certificates are valid. All answer values match.

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3640kb

input:

6
18 17
4 13
3 9
3 15
2 8
18 4
7 8
10 4
3 14
11 4
3 17
1 14
12 8
11 16
13 9
5 8
4 6
8 3
11 34
1 8
3 9
10 11
3 11
3 5
11 8
2 4
1 9
6 8
2 5
11 6
10 6
2 6
10 3
4 11
2 10
2 1
4 8
7 3
5 7
1 7
9 6
3 8
5 1
11 9
9 4
5 6
2 7
10 4
7 8
6 4
5 8
8 10
4 7
15 47
15 3
2 4
4 6
11 8
2 1
13 8
8 5
10 2
11 12
4 13
12 15...

output:

2 0

11 9
2 3 4 5 6 7 8 9 10 
13 5
3 4 6 12 14 
15 4
4 5 7 9 
16 14
2 3 4 5 6 7 8 9 10 11 12 13 14 15 
10 6
3 5 6 7 8 10 

result:

wrong answer Integer parameter [name=Too many vertices in the answer] equals to 0, violates the range [1, 16]