Help for this page

Select Code to Download


  1. or download this
    $lcm = $r * 4096;
    $lcm /= 2 until $lcm % 8192;
    $c = int( $s/$lcm) * $lcm;
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $c = int( $s/$lcm ) * $lcm;
    
    print "$c\n";