![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM_二分、尺取法
名字太长容易被发现并打死
这个作者很懒,什么都没留下…
展开
-
HDU -2199 Can you solve this equation?(二分)
Can you solve this equation? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Now,given the equation 8x^4 + 7x^3 + 2x^2 + 3x + 6 == Y,can you...原创 2019-08-13 19:42:15 · 450 阅读 · 0 评论 -
POJ -2739 Sum of Consecutive Prime Numbers(尺取法)
Sum of Consecutive Prime Numbers Time Limit: 1000MS Memory Limit: 65536K Description Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such r...原创 2019-08-14 20:42:41 · 346 阅读 · 0 评论 -
POJ -2100 Graveyard Design(尺取法)
Graveyard Design Time Limit: 10000MS Memory Limit: 64000K Description King George has recently decided that he would like to have a new design for the royal graveyard. The graveyard must consis...原创 2019-08-14 20:00:01 · 338 阅读 · 0 评论 -
HDU -5672 String(尺取法)
String Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description There is a string S.S only contain lower case English character.(10≤length(S)≤1,000,0...原创 2019-08-14 19:48:24 · 505 阅读 · 0 评论 -
POJ -2566 Bound Found(尺取法,前缀和)
Bound Found Time Limit: 5000MS Memory Limit: 65536K Description Signals of most probably extra-terrestrial origin have been received and digitalized by The Aeronautic and Space Administration (...原创 2019-08-14 08:55:40 · 315 阅读 · 0 评论 -
POJ -3061 Subsequence(尺取法)
Subsequence Time Limit: 1000MS Memory Limit: 65536K Description A sequence of N positive integers (10 < N < 100 000), each of them less than or equal 10000, and a positive integer S (S &l...原创 2019-08-13 20:35:07 · 360 阅读 · 0 评论 -
POJ -2110 Mountain Walking(二分,BFS)
Mountain Walking Time Limit: 1000MS Memory Limit: 30000K Description Farmer John and Bessie the cow have embarked on one of those ‘active’ vacations. They spend entire days walking in the mount...原创 2019-08-16 15:40:42 · 302 阅读 · 0 评论 -
POJ -2549 Sumsets(二分,枚举)
Sumsets Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13364 Accepted: 3668 Description Given S, a set of integers, find the largest d such that a + b + c = d where a, b, c, and d are di...原创 2019-08-14 20:36:22 · 340 阅读 · 0 评论 -
HDU -1551 Cable master(二分)
Cable master Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Inhabitants of the Wonderland have decided to hold a regional programming conte...原创 2019-08-14 20:22:17 · 336 阅读 · 0 评论 -
POJ -2002 Squares(二分,几何问题)
Squares Time Limit: 3500MS Memory Limit: 65536K Description A square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that ...原创 2019-08-13 20:15:58 · 479 阅读 · 0 评论 -
POJ -3122 Pie(二分)
Pie Time Limit: 1000MS Memory Limit: 65536K Description 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 var...原创 2019-08-13 20:02:37 · 354 阅读 · 0 评论 -
HDU -2899 Strange fuction(三分)
Strange fuction Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Problem Description Now, here is a fuction: F(x) = 6 * x7+8*x6+7x3+5*x2-yx (0 <= x <=100) ...原创 2019-08-26 11:32:04 · 176 阅读 · 0 评论