人生列车

follow on!success!

导航

2014年7月17日 #

二分法习题HDU2199

摘要: AC代码:#include#includeusing namespace std;double y;double f(double n){ return 8*pow(n,4)+7*pow(n,3)+2*pow(n,2)+3*n+6;}double find(){ double mid; ... 阅读全文

posted @ 2014-07-17 15:56 tianxia2s 阅读(217) 评论(0) 推荐(0) 编辑

二分法经典习题——HDU1969

摘要: #include #include #include using namespace std; double pie[10005];int T, N, F;double PI = acos(-1.0); bool test(double x){ int cnt = 0; for(int ... 阅读全文

posted @ 2014-07-17 14:48 tianxia2s 阅读(539) 评论(0) 推荐(0) 编辑

hdu2141AC代码分享

摘要: #include #include using namespace std;const int N = 505;//////////////////////////////////////////////////////////////////////////////////////////////... 阅读全文

posted @ 2014-07-17 10:45 tianxia2s 阅读(123) 评论(0) 推荐(0) 编辑