QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#854453#9733. Heavy-light Decompositionucup-team216#WA 1ms5736kbC++231.7kb2025-01-12 01:28:342025-01-12 01:28:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5736kb

input:

3
12 5
1 5
9 11
7 8
6 6
12 12
4 3
1 1
4 4
2 3
2 2
1 1
2 2

output:

0 1 2 3 4 2 2 7 2 9 10 2 
3 0 2 3 
IMPOSSIBLE

result:

wrong answer vertex 3 is not a leaf (test case 2)