Skip to content

Instantly share code, notes, and snippets.

Tian Siyuan tiansiyuan

Block or report user

Report or block tiansiyuan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lisztli
lisztli / gist:3728553
Created Sep 15, 2012
SICP Exercise 1.3
View gist:3728553
;Exercise 1.3. Define a procedure that takes three numbers as arguments and returns the sum of the squares of the two larger numbers.
(define (sum_squares_top2 c1 c2 c3)
(+
(square max(c1 c2))
(square max((min c1 c2) c3))))
You can’t perform that action at this time.