1
0
Fork 0
factor-puzzles/rosalind/pper/pper-docs.factor

21 lines
582 B
Factor
Raw Normal View History

2020-11-29 08:22:10 +01:00
! Copyright (C) 2020 Bubbler.
! See http://factorcode.org/license.txt for BSD license.
USING: help.markup help.syntax kernel ;
IN: rosalind.pper
HELP: pper
{ $values
{ "n" "An integer" } { "k" "An integer" }
{ "ans" "An integer" }
}
{ $description "Solves the problem PPER on Rosalind: compute the number of length-k permutations out of n distinct items, modulo 1000000." } ;
HELP: pper-main
{ $description "Solves the problem PPER on Rosalind, using a real dataset." } ;
ARTICLE: "rosalind.pper" "rosalind.pper"
{ $vocab-link "rosalind.pper" }
;
ABOUT: "rosalind.pper"