Three friends Andrew, watson and Lestrade were playing Golf. Andrew made three statements regarding their scores for a particular round. Can your work out their individual score??
The answer is Andrew:75, Watson:87, Lestrade:78. To solve this puzzle logically: 1. Make 2 cases of Watson's number - depending on carry from unit's place. Then do integer solution for the resulting equation (2 cases). 2. Also, Watson's and Lestrade's sum should be a multiple 11, this which limits the candidates for Andrew. Rest of the computation follows.
This puzzle can also be solved by coding the statements and searching the range os possible scores. Here is the code for doing so: https://docs.google.com/file/d/0B1RemqblO3BZYWNfeW0xSkVTU0E/edit?usp=sharing
The answer is Andrew:75, Watson:87, Lestrade:78.
ReplyDeleteTo solve this puzzle logically:
1. Make 2 cases of Watson's number - depending on carry from unit's place. Then do integer solution for the resulting equation (2 cases).
2. Also, Watson's and Lestrade's sum should be a multiple 11, this which limits the candidates for Andrew. Rest of the computation follows.
This puzzle can also be solved by coding the statements and searching the range os possible scores.
Here is the code for doing so: https://docs.google.com/file/d/0B1RemqblO3BZYWNfeW0xSkVTU0E/edit?usp=sharing