| Carey 的个人资料moved to www.codingbandi...照片日志列表 | 帮助 |
|
|
4月27日 Euler Problem No.2 in IronRubyEach new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... Find the sum of all the even-valued terms in the sequence which do not exceed four million. Here is my IronRuby solution (2 ways): or download it here 引用通告此日志的引用通告 URL 是: http://adanacp.spaces.live.com/blog/cns!5C91A5A30159F17B!277.trak 引用此项的网络日志
|
|
|