benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x5-33 / 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: `Arnold`, `Peter`, `Alice`, `Eric`, `Bob`
 - Each person has a unique favorite drink: `root beer`, `tea`, `water`, `coffee`, `milk`
 - People have unique favorite music genres: `pop`, `hip hop`, `classical`, `jazz`, `rock`
 - The people are of nationalities: `dane`, `norwegian`, `swede`, `german`, `brit`
 - Everyone has a unique favorite cigar: `dunhill`, `prince`, `blue master`, `pall mall`, `blends`

## Clues:
1. The Dunhill smoker is not in the second house.
2. The person who loves rock music is directly left of the person who loves classical music.
3. Peter is the person who loves jazz music.
4. Arnold is directly left of the Dane.
5. The root beer lover is the German.
6. The tea drinker is the Swedish person.
7. The Swedish person is the person who loves classical music.
8. The Dunhill smoker is not in the fourth house.
9. The person who loves jazz music is the Prince smoker.
10. Eric and the person who loves hip-hop music are next to each other.
11. There are two houses between the person partial to Pall Mall and the Swedish person.
12. Arnold is somewhere to the right of Eric.
13. The coffee drinker is somewhere to the right of the Dunhill smoker.
14. The Norwegian is somewhere to the right of the person who smokes Blue Master.
15. There is one house between the one who only drinks water and the person who smokes many unique blends.
16. Alice is the tea drinker.

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