Help for this page

Select Code to Download


  1. or download this
      my @sparse = () ;
      while (...whatever...) {
    ...
      } ;
    
      @sparse = sort { ($$a[0] <=> $$b[0]) || ($$a[1] <=> $$b[1]) || die }
    + @sparse ;
    
  2. or download this
    use strict ;
    use warnings ;
    ...
           0  -1  -3   2   0
           0   0   1   0   0
           0   4   2   0   1