benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x4-6 / 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: `Alice`, `Bob`, `Eric`, `Peter`, `Arnold`
 - People have unique favorite music genres: `rock`, `pop`, `classical`, `jazz`, `hip hop`
 - People have unique hair colors: `gray`, `black`, `red`, `blonde`, `brown`
 - The people are of nationalities: `norwegian`, `german`, `dane`, `brit`, `swede`

## Clues:
1. The German is somewhere to the left of the person who loves rock music.
2. There are two houses between Alice and the British person.
3. The person who loves jazz music is the person who has gray hair.
4. There are two houses between the person who has black hair and Peter.
5. The Swedish person is the person who has red hair.
6. The person who loves pop music is somewhere to the left of Peter.
7. The person who has gray hair is the German.
8. Eric is the person who loves rock music.
9. Arnold is in the second house.
10. The person who has blonde hair is in the third house.
11. Alice is the Dane.
12. The person who loves classical music is somewhere to the left of the German.

size

5*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