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.
License
GNU General Public License version 3.0 (GPLv3)Follow WhoOwnsTheFish
Other Useful Business Software
Earn up to 16% annual interest with Nexo.
Put idle assets to work with competitive interest rates, borrow without selling, and trade with precision. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of WhoOwnsTheFish!