Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Algorithm for cancelling common factors between two lists of multiplicands

by Limbic~Region (Chancellor)
on Aug 09, 2005 at 16:26 UTC ( #482292=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # After duplicates have been removed
    # @a = ( 20, 33, 60 );
    ...
    
    # @a = ( 33, 5 );
    # @b = ( 2, 4, 23 );
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
            n %= m;
        }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://482292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2023-03-20 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?