2019年10月11日

摘要: 1、Double 2、Houseboat 3、Sum of Consecutive 4、Specialized Number 5、Favorite Number 6、Sticks 7、Checksum algorithm 8、Scoring 9、Redistribute Wealth 10、Dext 阅读全文

posted @ 2019-10-11 23:53 金色的省略号 阅读(455) 评论(0) 推荐(0) 编辑

摘要: 1 #include 2 #define eps 1e-6 3 4 double fsqrt(double a) 5 { 6 double x=a,t; 7 /* 迭代x*/ 8 do{ 9 t=x; 10 x = 0.5*(x+a/x); 11 }while (t-x>eps... 阅读全文

posted @ 2019-10-11 10:36 金色的省略号 阅读(315) 评论(0) 推荐(0) 编辑