Jump to content


Welcome to BrainDen.com - Brain Teasers Forum

Welcome to BrainDen.com - Brain Teasers Forum. Like most online communities you must register to post in our community, but don't worry this is a simple free process. To be a part of BrainDen Forums you may create a new account or sign in if you already have an account.
As a member you could start new topics, reply to others, subscribe to topics/forums to get automatic updates, get your own profile and make new friends.

Of course, you can also enjoy our collection of amazing optical illusions and cool math games.

If you like our site, you may support us by simply clicking Google "+1" or Facebook "Like" buttons at the top.
If you have a website, we would appreciate a little link to BrainDen.

Thanks and enjoy the Den :-)
Guest Message by DevFuse
 

Quantum.Mechanic

Member Since --
Offline Last Active Aug 18 2014 04:51 PM
-----

Posts I've Made

In Topic: The army of ants

14 August 2014 - 04:30 PM

I saw this puzzle in the same Peter Winkler book I mentioned elsewhere.

Spoiler for Here's what I think

In Topic: 8th Graders olimpyad problem

14 August 2014 - 04:04 PM

Testing a few targets other than 99,

Spoiler for it seems that

In Topic: 8th Graders olimpyad problem

14 August 2014 - 04:00 PM

I wrote a program to check.

Spoiler for Anyone want to verify these?


In Topic: optimal game strat

14 August 2014 - 11:57 AM

I was using the code from post #21; is there another version?

Are you sure? Because starting at line 193, it has:

    # This result might already exist. Keep the new one if the path is shorter.
    if (not exists($m->{$result})
     or (scalar keys %$new_path < scalar keys %{$m->{$result}})) {
        # print STDERR "\tAdded $expression = $result\n";
        $m->{$result} = $new_path;
        ++$results_added;
    }

In Topic: Prisoners sorting cards - this puzzle is not for the faint of heart

14 August 2014 - 11:53 AM

I just read an equivalent puzzle in a puzzle book, so I'll sit this one out...