QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#351129#5139. DFS Order 2ezteam1#WA 1ms4080kbC++142.6kb2024-03-11 16:39:422024-03-11 16:39:43

详细

Test #1:

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

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: 1ms
memory: 4080kb

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