摘要: 其实这个网站不错:http://www.sorting-algorithms.com冒泡排序:bubble冒泡的意思http://zh.wikipedia.org/wiki/%E5%86%92%E6%B3%A1%E6%8E%92%E5%BA%8F---------------------------... 阅读全文
posted @ 2015-11-11 23:04 贺大卫 阅读(1547) 评论(0) 推荐(0) 编辑
摘要: http://www.2cto.com/kf/201109/105758.html算法大全(C,C++)一、数论算法1.求两数的最大公约数function gcd(a,b:integer):integer;beginif b=0 then gcd:=aelse gcd:=gcd (b,a mod b... 阅读全文
posted @ 2015-11-11 23:03 贺大卫 阅读(296) 评论(0) 推荐(0) 编辑