QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#99536#6317. XOR Tree Pathel_tunelWA 2ms3384kbC++20909b2023-04-22 23:46:052023-04-22 23:46:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3384kb

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'