摘要: 思路一:x,1 x,2 x,4 x,8 x,16依次往上加,再往下减 5=1+2+2,这种方法不好思路二:利用5=101=4+1=(2,2)+(2,0),很巧妙 double res = 1.0; bool flag = false; unsigned int newn... 阅读全文
posted @ 2015-08-04 09:48 *桔子* 阅读(175) 评论(0) 推荐(0)