Skip to content

Tag Archives: 代码

SICP习题解答:第二章(上)


Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

?View Code SCHEME;; 2.1 ;; 2.2 ;; 2.3 ; 第一种表示 ; 第二种表示 ; 公用函数 ;; 2.4 ;; 2.5 ; x and y are natural numbers ;; 2.6 目前最激动人心的题目 ;; 2.7 为什么这么重复的题目啊 ;; 2.8 ;; 2.9 对于加法,结果的上(下)界即两上(下)界之和,故宽度就是两宽度之和,即(a-b)+(c-d)=(a-c)-(b-d)。减法有相同的结论。对于乘法,(a-b)*(c-d)!=(ac-bd);例如宽度相同的(0,1)、(1,2)、(2,3)两两做乘法运算得到(0,2)、(0,3)、(2,6)三个宽度不同的区间。除法类似。 ;; 2.10 "Divide by a interval that contains zero — div-interval";; 2.11 其实归结起来只有三种情况:0、1或2个区间包括0。 "["",""]\n";;; ;; 2.12 "±";; 2.13 a(1+b%)*c(1+d%)=ac(1+b%+d%+b%d%)~=ac(1+b%+d%) […]

SICP习题解答:第一章(下)


Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

?View Code SCHEME;; 1.29 ;; 1.30 ;; 1.31 只需要把sum改动两处。 ; 递归实现 ; 迭代实现 ; 阶乘 ; π的近似值 ;; 1.32 ;; 1.33 ; filtered-accumulate 的两种实现 ; (a) ; (b) ;; 1.34 (f f)相当于(f 2),相当于(2 2),会因为2并非可以调用的函数而出错。 ;; 1.35 证明不动点直接计算即可,计算的(fixed-point (lambda (x) (+ 1 (/ 1 x))) 1.0)。 ;; 1.36 全部代码如下 ; 使用与不使用平均阻尼的步数分别为9与34步。 ;; 1.37 ; 递归版本 ; […]

SICP习题解答:第一章(上)


Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

?View Code SCHEME;; 1.1-2 略 ;; 1.3 ; 或 ;; 1.4 (if (> b 0) + -) 根据b的正负性返回函数+或-。 ;; 1.5 函数p的定义 (define (p) (p)) 是不断递归调用自己,所以欲对其进行求值/展开会产生死循环。调用 (test 0 (p)) 时,若采用应用序求值,会先对函数的参数,包括 (p) 求值,因而产生死循环,无法输出结果;若采用正则序求值,则由于 (p) 的值事实上不会被展开,故会正常返回0。 ;; 1.6 将在调用函数 new-if 时,应用序要求先算出其所有参数的值,new-if 的后两个参数——代表 if 的两个分支的代码都将被执行。所以 (sqrt-iter guess x) 必然需要调用 (sqrt-iter (improve guess x) x),这导致死循环。 ;; 1.7 ;; 1.8 ;; […]