2014年11月26日

摘要: //冒泡排序算法 static void Main(string[] args) { int[] array = { 2, 3, 7, 1, 4, 9, 6, 8, 10 }; var newarrry = BubbleSor... 阅读全文
posted @ 2014-11-26 13:42 lihfei89 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1斐波那契数列1.1题目:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? //斐波那契数列 static void Main(string[] args) { fo... 阅读全文
posted @ 2014-11-26 11:31 lihfei89 阅读(223) 评论(0) 推荐(0) 编辑

导航