Help for this page

Select Code to Download


  1. or download this
    
    id   0  1  2  3  4  5
    ...
    3|  -2, 2, 1, 7,-3, 0
    4|   0,-3,-3,-3, 8,-3
    5|  -1, 1, 5, 0,-3, 9
    
  2. or download this
    let k = 3 then
     3,4,5  -> score 7+8+9 = 24 > 17
     0,1,2  -> score 4+5+6 = 15 < 17
    
  3. or download this
     2->5 = 5
     3->3 = 7
     4->4 = 8
    
    so 2,3,4 -> 5,3,4 = 5+7+8 = 20 > 17
    
  4. or download this
    #!/usr/bin/perl
    
    ...
          }
       }
    }
    
  5. or download this
    score(2->5) < score(2->2)
    
  6. or download this
    
    my $k = 3;
    ...
    }
    =cut