
二分/三分
WeSeewe_Wy
这个作者很懒,什么都没留下…
展开
-
HDU 2141 Can you find it?
题目:Give you three sequences of numbers A, B, C, then we give you a number X. Now you need to calculate if you can find the three numbers Ai, Bj, Ck, which satisfy the formula Ai+Bj+Ck = X. Input原创 2017-07-26 08:31:38 · 304 阅读 · 0 评论 -
HDU 2199 Can you solve this equation?
#include#include #define eps 1e-8double l = 0, r = 100, mid, y, ans;double f(double x){ return 8 * pow(x, 4) + 7 * pow(x, 3) + 2 * pow(x, 2) + 3 * x + 6;}int main(){ int T; scanf("%d", &T);原创 2017-07-26 09:16:23 · 308 阅读 · 0 评论