QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#375082#5148. Tree DistanceDitaMirikaWA 1ms3672kbC++202.3kb2024-04-02 21:24:492024-04-02 21:24:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
1 2 5
1 3 3
1 4 4
3 5 2
5
1 1
1 4
2 4
3 4
2 5

output:

-1
-1
-1
-1
-1

result:

wrong answer 2nd numbers differ - expected: '3', found: '-1'