benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x3-10 / 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`, `Eric`, `Peter`, `Bob`, `Alice`
 - Each person has an occupation: `engineer`, `doctor`, `artist`, `lawyer`, `teacher`
 - Each person prefers a unique type of vacation: `cruise`, `beach`, `city`, `camping`, `mountain`

## Clues:
1. The person who prefers city breaks is somewhere to the left of the person who is an engineer.
2. There are two houses between the person who likes going on cruises and the person who enjoys camping trips.
3. Bob is in the fourth house.
4. The person who is a doctor is not in the fifth house.
5. The person who likes going on cruises is in the first house.
6. There are two houses between the person who is a doctor and the person who is a lawyer.
7. The person who is a lawyer and Arnold are next to each other.
8. There is one house between Peter and the person who is a teacher.
9. The person who enjoys mountain retreats is somewhere to the left of the person who loves beach vacations.
10. Alice is somewhere to the left of the person who is a teacher.
11. There is one house between the person who prefers city breaks and Arnold.

size

5*3

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