这都是今天做的第三道二分答案的题了。。。这题精度控制要求也比较高,我是把eps设成1e-8才过的1e-6都过不了。。。
/* * hdu2199/win.cpp * Created on: 2012-11-2 * Author : ben */#include#include #include #include #include #include #include #include #include #include
本文共 1160 字,大约阅读时间需要 3 分钟。
这都是今天做的第三道二分答案的题了。。。这题精度控制要求也比较高,我是把eps设成1e-8才过的1e-6都过不了。。。
/* * hdu2199/win.cpp * Created on: 2012-11-2 * Author : ben */#include#include #include #include #include #include #include #include #include #include
转载于:https://www.cnblogs.com/moonbay/archive/2012/11/02/2751732.html