aboutsummaryrefslogtreecommitdiff
path: root/challenge-054/markus-holzer/raku/ch-1.p6
blob: 9de66168bcb8371392600e5f52940b4ebb0e426e (plain)
1
2
3
4
sub MAIN( Int $n where * > 1, Int $k where * > 1 )
{
    say ( 1..$n ).permutations[ $k - 1 ];
}