01 2015 档案

摘要:1, Iteration, Induction and Recursion2, the running time of program3, combinatorics and probability4, the tree data model5, the list data model6, the ... 阅读全文
posted @ 2015-01-10 16:12 zmiao 阅读(192) 评论(0) 推荐(0) 编辑
摘要:http://programmers.stackexchange.com/questions/83780/how-fast-can-go-goIn terms of language design, there isn't really anything that should make Go sl... 阅读全文
posted @ 2015-01-09 09:05 zmiao 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-01-07 11:46 zmiao 阅读(108) 评论(0) 推荐(0) 编辑
摘要:bool prime(long n){ for(long i=2;i<=sqrt(n);i++){ if(n%i== 0){ return false; } } return true;}复杂度O(n*sqrt(n))如想要... 阅读全文
posted @ 2015-01-01 08:52 zmiao 阅读(102) 评论(0) 推荐(0) 编辑