Solution to the classic riddle suppossedly proposed by Einstein.

This solution is for the variant proposed by http://www.2ddepot.com/games/whoownsthefish/ (Spanish, no smoking references)

Method is simple brute force for every permutation.

In a intel core i5 M 560 @ 2.67GHz, program terminates in 2 minutes.

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow WhoOwnsTheFish

WhoOwnsTheFish Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of WhoOwnsTheFish!

Additional Project Details

Operating Systems

BSD, Linux

Intended Audience

Developers, Other Audience, Testers

User Interface

Console/Terminal

Programming Language

C++

Related Categories

C++ Simulation Games, C++ Exam Software, C++ Brute Force Tool

Registered

2013-08-16