benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x5-5 / 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: `Peter`, `Bob`, `Arnold`, `Eric`, `Alice`
 - Each person has a favorite color: `red`, `white`, `green`, `blue`, `yellow`
 - Each person has a unique hobby: `gardening`, `cooking`, `painting`, `photography`, `knitting`
 - People have unique heights: `very tall`, `tall`, `average`, `short`, `very short`
 - People have unique hair colors: `black`, `blonde`, `brown`, `gray`, `red`

## Clues:
1. The person whose favorite color is green is somewhere to the right of the person who has black hair.
2. The person who has an average height is somewhere to the right of the person who loves blue.
3. The person who has red hair is Alice.
4. The person who loves cooking is not in the first house.
5. The person who loves yellow is the person who has gray hair.
6. The person who is short is somewhere to the left of the person who loves yellow.
7. The person who enjoys gardening is the person who loves white.
8. Arnold is somewhere to the left of the person who has black hair.
9. The person who is short is somewhere to the right of the person who has blonde hair.
10. Eric and the person who loves cooking are next to each other.
11. The person who has black hair is directly left of the person who loves blue.
12. The person who is very short is the person who has black hair.
13. Bob is the person who loves blue.
14. The person who is tall is directly left of the photography enthusiast.
15. The person who loves white is not in the first house.
16. The person who loves yellow is the person who enjoys knitting.
17. The person who loves blue is the person who has blonde hair.

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