src/problems/aspc.lisp @ 0a5694fe577c
MMCH
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 24 Jan 2020 22:42:19 -0500 |
parents | 888f5c30c949 |
children | (none) |
(defpackage :rosalind/aspc (:use :cl :rosalind :losh :iterate)) (in-package :rosalind/aspc) (define-problem aspc (data stream) "6 3" "42" (let ((n (read data)) (m (read data))) (u:Σ (k m n :modulo 1000000) (u:binomial-coefficient n k)))) #; Scratch --------------------------------------------------------------------