QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#793374#5139. DFS Order 2ucup-team2513WA 0ms17652kbC++202.8kb2024-11-29 19:07:072024-11-29 19:07:09

详细

Test #1:

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

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

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 4 2 2 4 0 0 0 
0 0 0 4 4 4 0 0 0 0 
0 0 0 0 4 4 4 0 0 0 
0 12 0 0 0 0 0 12 0 0 
0 12 0 0 12 0 0 0 0 0 
0 0 0 4 2 2 4 0 0 0 
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 17th numbers differ - expected: '8', found: '4'