Wrong answer in test case?

programming
Tags: #<Tag:0x00007f1827e3d1b8>

#1

A : [ -49, 58, 72, -78, 9, 65, -42, -3 ]
B : [ 30, -13, -70, 58, -34, 79, -36, 27 ]

How can the solution be 28 for this testcase


#2

We need to find the hole at the minimum distance to a mice,so rearrange the holes to get the minimum for the above test case.sort them.