Help for this page

Select Code to Download


  1. or download this
    my $K = <>;
    my $sum = 0;
    $sum += $_ for split ' ', "5 6 7 8\n", $K;
    print $sum;
    
  2. or download this
    K sum
    0 26
    ...
    3 18
    4 26
    5 26