
二分
苍山洱海胖
慢一点 不要悬浮
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【poj 3061】Subsequence
Subsequence A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S < 100 000 000) are given. Write a program to find the mini原创 2017-08-08 17:24:13 · 263 阅读 · 0 评论 -
【二分 小知识】
STL二分查找 lower_bound(): 头文件: #include 函数模板: 如 binary_search() 函数功能: 函数lower_bound()在first和last中的前闭后开区间进行二分查找,返回大于或等于val的第一个元素位置。如果所有元素都小于val,则返回last的位置 举例如下: 一个数组number序列为:4,10,11,30,原创 2017-08-09 15:56:59 · 207 阅读 · 0 评论 -
【lightoj 1138】Trailing Zeroes (III) (二分)
Trailing Zeroes (III) You task is to find minimal natural number N, so that N! contains exactly Q zeroes on the trail in decimal notation. As you know N! = 1*2*...*N. For example, 5! = 120原创 2017-08-22 16:58:33 · 390 阅读 · 0 评论