benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-4x4-7 / There are 4 houses, numbered 1 to 4 from left to right, as seen from across the…

Problem

puzzle

There are 4 houses, numbered 1 to 4 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: `Arnold`, `Eric`, `Alice`, `Peter`
 - Everyone has a unique favorite cigar: `prince`, `pall mall`, `blue master`, `dunhill`
 - Each person has a unique favorite drink: `milk`, `coffee`, `water`, `tea`
 - People have unique hair colors: `blonde`, `black`, `red`, `brown`

## Clues:
1. The person who has brown hair is not in the fourth house.
2. The person who likes milk is the person who has brown hair.
3. The person partial to Pall Mall is somewhere to the right of the person who has black hair.
4. Peter is somewhere to the left of the Dunhill smoker.
5. The person who smokes Blue Master is directly left of Alice.
6. The tea drinker is Peter.
7. Eric is the person who has brown hair.
8. Eric is not in the third house.
9. Alice is the Dunhill smoker.
10. The person who has blonde hair is the Prince smoker.
11. The one who only drinks water is not in the fourth house.

size

4*4

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