11 2015 档案

摘要:The practice of programmingChapter 2Algorithms andData StructuresSearchingsequential search (linear search):easy but the amount of work is directly pr... 阅读全文
posted @ 2015-11-22 23:55 Christen 阅读(167) 评论(1) 推荐(0)
摘要:The Practice of ProgrammingIn the preface, the author illustrates four basic principles of programming - simplicity, clarity, generality,automation.I ... 阅读全文
posted @ 2015-11-15 23:59 Christen 阅读(169) 评论(1) 推荐(0)
摘要:只列举了做题中用到过的一些数学定理,先暂时整理一部分。1、求n的位数: log10(n)2、n为质数: a^m = a^(m % (n-1)) (mod n)3、欧拉函数: 小于等于n的数中,与n互质的数的数目。 Euler函数表达通式:euler(x)=x(1-1/p1)(1-1/p2)... 阅读全文
posted @ 2015-11-07 22:31 Christen 阅读(176) 评论(0) 推荐(1)

点击右上角即可分享
微信分享提示