QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#794216#5139. DFS Order 2xyjWA 0ms3888kbC++111.6kb2024-11-30 13:00:062024-11-30 13:00:07

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3884kb

input:

5
1 2
1 3
3 4
3 5

output:

4 0 0 0 0 
0 2 0 0 2 
0 2 2 0 0 
0 0 1 2 1 
0 0 1 2 1 

result:

ok 25 numbers

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3888kb

input:

10
9 2
9 6
10 5
1 5
1 6
9 3
5 8
4 3
7 9

output:

24 0 0 0 0 0 0 0 0 0 
0 0 0 2 2 2 4 2 2 2 
0 0 0 2 4 2 2 4 2 0 
0 0 0 0 2 4 2 2 4 2 
0 12 0 0 0 0 0 12 0 0 
0 12 0 0 12 0 0 0 0 0 
0 0 0 2 2 2 4 2 2 2 
0 0 6 6 0 0 0 0 6 6 
0 0 12 0 0 12 0 0 0 0 
0 0 6 6 0 0 0 0 6 6 

result:

wrong answer 14th numbers differ - expected: '4', found: '2'