U E D R , A S I H C RSS

파스칼삼각형/김남훈 (rev. 1.2)

파스칼삼각형/김남훈

(define (pascal r c)
  (cond ((= c 1) 1)
	((= r c) 1)
	(else (+ (pascal (- r 1) c)
		 (pascal (- r 1) (- c 1))))))
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:31:22
Processing time 0.0139 sec