Closest Distance

medium
<a href="https://lightoj.com/problem/closest-distance" target="_blank"><i class="fa fa-external-link" aria-hidden="true"> Link -> Closest Distance</i></a>

Input Format

Check the Link

Output Format

Check the Link

Constraints

Check the Link

Example

Input
3
0 0 5 0 5 5 5 0
0 0 5 5 10 10 6 6
0 0 5 0 10 1 1 1
Output
Case 1: 0
Case 2: 1.4142135624
Case 3: 1
Previous
Weakness And Poorness
Next
Restorer Distance

Related Questions