fork download
  1. (define (fatorial n)
  2. (if (= n 0) 1 (* n (fatorial (- n 1)))))
  3.  
  4. (define (comb n p)
  5. (/ (fatorial n) (* (fatorial p) (fatorial (- n p)))))
  6.  
  7. (write (comb 6 2))
Success #stdin #stdout 0.02s 4176KB
stdin
Standard input is empty
stdout
15