QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#101335#6317. XOR Tree PathZhaoZiLongWA 2ms3504kbC++1.4kb2023-04-29 10:27:552023-04-29 10:27:57

詳細信息

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'