POJ 2456 - Aggressive cows(二分)
Description Farmer John has built a new long barn, with N (2 His C (2 Input Line 1: Two space-separated integers: N and C Lines 2..N+1: Line i+1 contains an integer stall location, xi Output Line 1: One integer: the largest minimum distance Sample Input 5 3 1 2 8 4 9 Sample Output 3 Hint OUTPUT DETAILS: FJ can put his 3 cows in the stalls at positions 1,