benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x5-9 / There are 5 houses, numbered 1 to 5 from left to right, as seen from across the…

Problem

puzzle

There are 5 houses, numbered 1 to 5 from left to right, as seen from across the street. Each house is occupied by a different person. Each house has a unique attribute for each of the following characteristics:
 - Each person has a unique name: `Bob`, `Arnold`, `Peter`, `Alice`, `Eric`
 - Each person has a unique favorite drink: `milk`, `root beer`, `coffee`, `tea`, `water`
 - Each person has a favorite color: `blue`, `green`, `white`, `yellow`, `red`
 - They all have a unique favorite flower: `daffodils`, `roses`, `lilies`, `tulips`, `carnations`
 - Each person has a unique hobby: `painting`, `cooking`, `photography`, `gardening`, `knitting`

## Clues:
1. Alice is not in the fourth house.
2. The root beer lover is the person who enjoys gardening.
3. The person whose favorite color is green is the coffee drinker.
4. The person whose favorite color is green is the person who loves the boquet of lilies.
5. The person who loves blue is somewhere to the right of the person who loves a bouquet of daffodils.
6. The person who loves cooking is the person who loves blue.
7. Eric is directly left of the tea drinker.
8. The one who only drinks water is Peter.
9. Arnold is the photography enthusiast.
10. The person who loves white is the person who loves the rose bouquet.
11. There is one house between the person who loves a carnations arrangement and the person whose favorite color is red.
12. The person who loves cooking is somewhere to the left of the person who paints as a hobby.
13. The one who only drinks water is in the third house.
14. The person who loves a carnations arrangement is the root beer lover.
15. The person who loves white is in the second house.

size

5*5

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Why there is no answer to show Answer withheld by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import