Skip to content

Commit

Permalink
[rosalind] PPER
Browse files Browse the repository at this point in the history
  • Loading branch information
grondilu committed Dec 6, 2012
1 parent c16adc3 commit d224698
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rosalind/pper-grondilu.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
use v6;

sub pper($n, $k) { [*] $n-$k+1 .. $n }
say pper(| $*IN.get.split: " ") % 1_000_000;

# vim: ft=perl6

0 comments on commit d224698

Please sign in to comment.