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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try 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