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

Re: knapsack problem solved by regex

by jwkrahn (Monsignor)
on Mar 15, 2010 at 18:19 UTC ( #828763=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for ( keys %items ) {
    
  2. or download this
    for ( sort { $items{ $b }{ v } <=> $items{ $a }{ v } } keys %items ) {
    
  3. or download this
    for ( sort { $items{ $a }{ v } <=> $items{ $b }{ v } } keys %items ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://828763]
help
Chatterbox?
[erix]: ah, Romulus killed Remus. Sad! ;)
erix .oO( does Trump have a brother ? )
[Discipulus]: yes a minor one:
[Discipulus]: Trumpet
Discipulus or is a dog, cat..?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2017-01-20 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (174 votes). Check out past polls.