koguro #3114(2007/09/19 15:45 GMT) [ Scheme ] Rating0/0=0.00
Schemeの解答がなかったので投稿
1 2 3 4 5 6 7 8 9 10
(use srfi-1) (use srfi-27) (define (bingo n) (define (%bingo lst) (if (null? lst) '() (receive (head tail) (split-at lst (random-integer (length lst))) (cons (car tail) (%bingo (append head (cdr tail))))))) (%bingo (iota n 1)))
Rating0/0=0.00-0+
[ reply ]
koguro #3114() [ Scheme ] Rating0/0=0.00
Rating0/0=0.00-0+
[ reply ]