This place needs more life.
Name:
Anonymous
2013-11-10 13:26
Yes. Please post more programming-relevant threads.
Name:
Anonymous
2013-11-10 14:16
We should start a serious /prog/ challenge.
Name:
Anonymous
2013-11-10 14:33
>>2implement uhci in brainfuck
Name:
Anonymous
2013-11-10 18:48
>>1I've got something, hang on.
Name:
Anonymous
2013-11-10 21:44
>>2I was thinking of a stupid game.
This must be a signal, I shall post my stupid game.
Name:
Anonymous
2013-11-11 2:33
Write short solutions to problems in combinatorics in the language of your choice. I'll start:
(define (combinations k lis)
(cond ((= k 0) '(()))
((null? lis) '())
(else (append (map (lambda (rest-comb)
(cons (car lis) rest-comb))
(combinations (- k 1) (cdr lis)))
(combinations k (cdr lis))))))
Name:
Anonymous
2013-11-11 2:39
>>6I actually had to do this for an algorithms class, but since it was a FIOC class, I just used
itertools.combinations()
.
Name:
Anonymous
2016-06-09 23:56
wreck'em and check'em