
二分搜索
titi2018815
菜鸟正在一步步成长!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Desert King POJ - 2728(最优比率生成树)
题目: David the Great has just become the king of a desert country. To win the respect of his people, he decided to build channels all over his country to bring water to every village. Villages which a...原创 2019-10-21 17:19:04 · 449 阅读 · 0 评论 -
Dropping tests POJ - 2976 (二分搜索 01分数规划)
题目: In a certain course, you takentests. If you getaiout ofbiquestions correct on testi, your cumulative average is defined to be . Given your test scores and a positive integerk, determine...原创 2019-10-21 14:22:14 · 221 阅读 · 0 评论 -
Drying POJ - 3104(二分搜索)
题目: It is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make drying faster....原创 2019-10-20 16:04:33 · 159 阅读 · 0 评论 -
Monthly Expense POJ - 3273 (二分搜索枚举判断)
题目: Farmer John is an astounding accounting wizard and has realized he might run out of money to run the farm. He has already calculated and recorded the exact amount of money (1 ≤moneyi≤ 10,000) t...原创 2019-10-20 12:00:15 · 141 阅读 · 0 评论 -
River Hopscotch POJ - 3258 (二分搜索枚举判断)
题目: Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river with...原创 2019-10-20 11:19:33 · 268 阅读 · 0 评论 -
Cable master POJ - 1064
题目: Inhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunteered and has promised to organize the most honest contest ever. It was decided ...原创 2019-09-13 11:22:35 · 125 阅读 · 0 评论 -
Aggressive cows POJ - 2456
题目: 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 <...原创 2019-09-15 09:14:14 · 121 阅读 · 0 评论