- or download this
use strict;
use warnings;
...
$n %= 10;
}
say substr $out, 0, $w, '' while $out;
- or download this
..........................................
..............................0...........
...
.................................9....5...
.................................01234....
..........................................
- or download this
$img = conv2d( $img, $kernel ) == 1;
$img += 48;
...
push @list, $i
while first { substr $s, $i += $_, 1, 0 } @checks;
- or download this
>perl -MList::Util=uniqnum -E "say for uniqnum 1,1,2,1
1
2
- or download this
>perl -E "say '1121'=~tr/12/12/sr"
121
- or download this
my $prev = -1;
@list = grep {
...
my $y = $_ / $w_ / 3;
$x + $y * $w
} @list;