fork download
  1. ; your code goes here
  2. (defun ex1 (a b c) (apply #'+ (mapcar (lambda (n) (* n n)) (cdr (sort (list a b c) #'<)))))
  3. (print (ex1 3 2 1))
  4. (print (ex1 1 2 3))
Success #stdin #stdout 0.01s 10512KB
stdin
Standard input is empty
stdout
13 
13