QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#204323#7509. 01treeZ_301WA 13ms40508kbC++178.2kb2023-10-07 10:02:032023-10-07 10:02:03

詳細信息

Test #1:

score: 100
Accepted
time: 13ms
memory: 40496kb

input:

3
2
1 2
00
11
3
1 2
2 3
???
???
3
1 2
2 3
??1
0?0

output:

1
16
1

result:

ok 3 number(s): "1 16 1"

Test #2:

score: -100
Wrong Answer
time: 8ms
memory: 40508kb

input:

1000
23
1 2
1 3
1 4
2 5
5 6
4 7
3 8
4 9
8 10
8 11
8 12
1 13
7 14
10 15
7 16
7 17
5 18
18 19
12 20
9 21
21 22
6 23
00?10?0000??1?00111?010
011??1?10?01?110?0??101
6
1 2
1 3
1 4
4 5
3 6
000?10
1???01
25
1 2
2 3
2 4
4 5
5 6
2 7
4 8
5 9
7 10
8 11
11 12
5 13
11 14
3 15
6 16
14 17
1 18
4 19
6 20
4 21
5 22...

output:

53545
24
16 2 0 0

result:

wrong answer 3rd numbers differ - expected: '11724', found: '16'