2011年3月18日

摘要: 题目: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 右耳纹金刀 阅读(375) 评论(0) 推荐(0) 编辑

导航