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.
Be the first to post a review of WhoOwnsTheFish!