QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#101335#6317. XOR Tree PathZhaoZiLongWA 2ms3504kbC++1.4kb2023-04-29 10:27:552023-04-29 10:27:57

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

5

result:

ok 1 number(s): "5"

Test #2:

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

input:

6
1 1 0 0 1 0
3 1
2 5
1 2
4 1
2 6

output:

6

result:

wrong answer 1st numbers differ - expected: '5', found: '6'