Help for this page

Select Code to Download


  1. or download this
    $!/usr/bin/perl
    @A=map{abs}@ARGV;for($y=9;$y>0;$y--){print$A[1]-$y>$A[0]-$_?$A[1]-$y:(
    +$A[0]-$_)for(1..9);print$/}
    
  2. or download this
    sub a{abs$ARGV[shift]-pop}for($y=9;$y;$y--){print a(1,$y)>a(0,$_)?a 1,
    +$y:a(0,$_)for 1..9;print$/}