摘要: 题目链接注意h > w的时候交换,还有就是注意一下转化double,错了好几次。。。算法就是解方程。。精度倒是不卡。 1 #include <cstdio> 2 #include <cstring> 3 #include <cmath> 4 #include <string> 5 using namespace std; 6 #define PI 3.1415926535898 7 #define eps 1e-13 8 double fun(double x) 9 {10 return x*PI/180;11 }12 int main() 阅读全文
posted @ 2013-03-11 21:12 Naix_x 阅读(230) 评论(0) 推荐(0) 编辑