QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#375087#5148. Tree DistanceDitaMirikaWA 1ms3616kbC++202.3kb2024-04-02 21:25:552024-04-02 21:25:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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
5
7
7
2

result:

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