Chinaunix首页 | 论坛 | 博客
  • 博客访问: 326709
  • 博文数量: 79
  • 博客积分: 2466
  • 博客等级: 大尉
  • 技术积分: 880
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-07 16:47
文章分类

全部博文(79)

文章存档

2014年(3)

2012年(7)

2011年(14)

2010年(2)

2009年(2)

2008年(2)

2007年(18)

2006年(31)

发布时间:2014-08-31 21:16:26

Exercise 1.12Write a procedure that computes elements of Pascal's triangle by means of a recursive process. 点击(此处)折叠或打开def elem(n, m) {    if (m == 1 || m == n) return 1    else if (m < 1 || .........【阅读全文】

阅读(353) | 评论(0) | 转发(0)

发布时间:2014-08-30 20:52:38

Exercise 1.11.  A function f is defined by the rule that f(n) = n if n<3 and f(n) = f(n - 1) + 2f(n - 2) + 3f(n - 3) if n> 3. Write a procedure that computes f by means of a recursive process. Write a procedure that computes f by means of an iterative process.点击(此处)折叠或打开.........【阅读全文】

阅读(354) | 评论(0) | 转发(0)

发布时间:2014-08-21 18:33:45

看《SICP》看得我都快精神分裂了。这书对自己的思维方式,以及对数据,程序的理解,都是种挑战。用groovy重写了一下第二章中对pair的两种特别诡异的实现。法1:def make_pair(x, y) {    return { i -> return i?y:x; }}def getx(pair) {    return pair(0);}def gety(pair) {.........【阅读全文】

阅读(197) | 评论(0) | 转发(0)

发布时间:2012-06-25 16:47:46

......【阅读全文】

阅读(617) | 评论(0) | 转发(0)

发布时间:2012-02-04 14:19:13

......【阅读全文】

阅读(656) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

jiyuan512008-06-23 13:31

刚才在CU的一篇解释C++ Sequence Point的帖子里,看见你精彩的解说,特来感谢。(我也从中收获了Sequence Point的概念及意义).http://www.chinaunix.net/jh/23/310576.html

回复  |  举报

chinaunix网友2007-03-17 20:11

请问你有lame的源代码吗? 有的话可以发给我吗?邮箱taribenma@163.com 你平时需要源代码时是到哪里找阿?

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册