poj 2456 Aggressive cows (二分查找)
Description
Farmer John has built a new long barn, with N (2 <= N <= 100,000) stalls. The stalls are located along a straight line at positions x1,...,xN (0 <= xi <= 1,000,000,000).
His C (2 <
原创
2016-08-08 15:02:58 ·
447 阅读 ·
0 评论