![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二分
文章平均质量分 86
咸鱼子摸鱼代码工程
这个作者很懒,什么都没留下…
展开
-
二分入门总结 B - Cable master,C - Aggressive cows,A - Monthly Expense
zz原创 2021-07-21 15:29:26 · 365 阅读 · 0 评论 -
Aggressive cows 二分
Aggressive cows 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 <= C <= N) cows don’t like this barn layout a原创 2021-07-17 00:14:01 · 119 阅读 · 0 评论