QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#258112#5139. DFS Order 2HuangHanShengWA 0ms3904kbC++202.2kb2023-11-19 15:12:572023-11-19 15:12:57

詳細信息

Test #1:

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

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

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 3 3 3 6 3 3 3 
0 0 0 3 6 3 3 6 3 0 
0 0 0 0 3 6 3 3 6 3 
0 12 0 0 0 0 0 12 0 0 
0 12 0 0 12 0 0 0 0 0 
0 0 0 3 3 3 6 3 3 3 
0 0 8 8 0 0 0 0 8 0 
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: '3'