benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-4x4-32 / There are 4 houses, numbered 1 to 4 from left to right, as seen from across the…

Problem

puzzle

There are 4 houses, numbered 1 to 4 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`, `Arnold`, `Peter`, `Eric`
 - Each person prefers a unique type of vacation: `cruise`, `mountain`, `city`, `beach`
 - Each person has a unique favorite drink: `tea`, `coffee`, `milk`, `water`
 - The people are of nationalities: `brit`, `swede`, `dane`, `norwegian`

## Clues:
1. The person who prefers city breaks is the Swedish person.
2. The person who likes going on cruises is directly left of the person who loves beach vacations.
3. Arnold is in the second house.
4. Arnold is the person who likes milk.
5. The person who prefers city breaks is not in the fourth house.
6. The coffee drinker is the Norwegian.
7. The person who loves beach vacations and Peter are next to each other.
8. Eric is the one who only drinks water.
9. The person who loves beach vacations is directly left of the Dane.

size

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