Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Challenge: Sorting Sums Of Sorted Series

by Limbic~Region (Chancellor)
on Feb 03, 2010 at 13:26 UTC ( [id://821162]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
        last if defined $item && $item eq $finish;
        print "$item\n";
    }
    
  2. or download this
    #!/usr/bin/perl
    use constant VAL => 0;
    ...
            $merge_list[$index][SUM] = $merge_list[$index][VAL] + $list2[$
    +merge_list[$index][IDX]];
        }
    }
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
        print "$min\n";
        $merge_list[$idx]++;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-20 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found