分治法
一步一步地往上爬
沉心静气,默默努力
展开
-
HDU 2199 Can you solve this equation?
题目描述: Now,given the equation 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,can you find its solution between 0 and 100; Now please try your lucky. Input The first line of the input contains an integer T(1&l...原创 2019-08-09 17:00:45 · 91 阅读 · 0 评论 -
HDU 2899 Strange fuction
题目描述: Now, here is a fuction: F(x) = 6 * x^7+8*x^6+7*x^3+5*x^2-y*x (0 <= x <=100) Can you find the minimum value when x is between 0 and 100. Input The first line of the input contains an i...原创 2019-08-10 16:00:40 · 144 阅读 · 0 评论 -
HDU 1969 Pie
题目描述: 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 of my friends are coming to my party and e...原创 2019-08-10 18:11:59 · 102 阅读 · 0 评论