Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Aug 09, 2005 at 16:26 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-29 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found