benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-6x3-14 / There are 6 houses, numbered 1 to 6 from left to right, as seen from across the…

Problem

puzzle

There are 6 houses, numbered 1 to 6 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: `Bob`, `Carol`, `Arnold`, `Peter`, `Eric`, `Alice`
 - Each person has a unique favorite drink: `coffee`, `boba tea`, `root beer`, `water`, `tea`, `milk`
 - Each person has an occupation: `engineer`, `doctor`, `teacher`, `nurse`, `lawyer`, `artist`

## Clues:
1. Alice is in the fourth house.
2. The person who is a lawyer is not in the sixth house.
3. Eric is the person who is a nurse.
4. The person who is a teacher is in the second house.
5. The person who is a lawyer and the person who is an engineer are next to each other.
6. The person who is a nurse is the coffee drinker.
7. The root beer lover is directly left of Arnold.
8. The one who only drinks water is somewhere to the left of the root beer lover.
9. Carol is somewhere to the right of the person who is a teacher.
10. The tea drinker is directly left of the person who is a nurse.
11. The person who is a doctor is directly left of the boba tea drinker.
12. The tea drinker is Peter.

size

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