SICP:反复用加法来实现乘法 1.17
摘要:
#lang racket(define (fast-multiplication a b n);a*n (cond ((= n 0) b);n==0 ((even? n) (fast-multiplication (double a) b ... 阅读全文
posted @ 2015-03-21 14:30 Zachary_wiz 阅读(123) 评论(0) 推荐(0) 编辑
posted @ 2015-03-21 14:30 Zachary_wiz 阅读(123) 评论(0) 推荐(0) 编辑
posted @ 2015-03-21 13:19 Zachary_wiz 阅读(189) 评论(0) 推荐(0) 编辑