Help for this page

Select Code to Download


  1. or download this
    #! perl -slw
    use strict;
    ...
            pop @modified;
        }
    }
    
  2. or download this
    while ( @points ) {
        if (($points[0][0] > $modified[-1][0])^($points[0][1] < $modified[
    +-1][1])) {
    ...
            pop @modified;
        }
    }
    
  3. or download this
    while ( @points ) {
        if (($points[0][0]-$modified[-1][0])/($points[0][1]-$modified[-1][
    +1]) > 0) {
    ...
                            ]
        }
    }