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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
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