03 2011 档案

自己备查:如何优化算法--缓存
摘要:题目:http://projecteuler.net/index.php?section=problems&id=164projecteuler.net #164 How many 20 digit numbers n (without any leading zero) exist such that no three consecutive digits of n have a sum greater than 9?使用简单算法,从高位到低位便利每种组合,慢的要死View Code List<int>number=newList<int>();intcoun 阅读全文

posted @ 2011-03-18 11:21 右耳纹金刀 阅读(383) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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