![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二分搜索
笨鸟1号
张占文
展开
-
hdu_1969 二分
http://acm.hdu.edu.cn/showproblem.php?pid=1969 My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F o...原创 2018-08-18 11:35:33 · 130 阅读 · 0 评论 -
A - p1m2
度度熊很喜欢数组!! http://acm.hdu.edu.cn/showproblem.php?pid=6383 我们称一个整数数组为稳定的,若且唯若其同时符合以下两个条件: 1. 数组里面的元素都是非负整数。 2. 数组里面最大的元素跟最小的元素的差值不超过 11。 举例而言,[1,2,1,2][1,2,1,2] 是稳定的,而 [−1,0,−1][−1,0,−1] 跟 [1,2,3]...原创 2018-08-16 11:47:44 · 238 阅读 · 0 评论 -
River Hopscotch
River Hopscotch Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 20117 Accepted: 8363 Description http://poj.org/problem?id=325 Every year the cows hold an event...原创 2018-08-29 13:09:02 · 127 阅读 · 0 评论 -
NYOJ814 又见拦截导弹
http://acm.nyist.edu.cn/JudgeOnline/problem.php?pid=814 又见拦截导弹 时间限制:3000 ms | 内存限制:65535 KB 难度:3 输入 有多组测试数据。 每组数据先输入一个整数N(N≤3000),代表有N发导弹来袭。接下来有N个数,分别代表依次飞来的导弹的导弹的高度。当N=-1时表示输入结束。 输出 每组...原创 2018-08-26 19:24:59 · 149 阅读 · 0 评论