benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-4x4-15 / 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: `Peter`, `Eric`, `Alice`, `Arnold`
 - People have unique favorite sports: `swimming`, `tennis`, `basketball`, `soccer`
 - Each person prefers a unique type of vacation: `cruise`, `beach`, `mountain`, `city`
 - Everyone has something unique for lunch: `grilled cheese`, `spaghetti`, `stew`, `pizza`

## Clues:
1. The person who loves the spaghetti eater is somewhere to the left of the person who likes going on cruises.
2. The person who loves the stew is directly left of the person who loves eating grilled cheese.
3. The person who is a pizza lover is in the fourth house.
4. Peter is somewhere to the left of the person who enjoys mountain retreats.
5. The person who likes going on cruises is in the third house.
6. Arnold is the person who loves soccer.
7. The person who loves basketball is not in the first house.
8. There are two houses between the person who prefers city breaks and Eric.
9. The person who loves tennis is the person who likes going on cruises.
10. Alice is in the first house.

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