benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-5x5-28 / 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: `Alice`, `Bob`, `Eric`, `Peter`, `Arnold`
 - Each person has a unique type of pet: `hamster`, `bird`, `fish`, `dog`, `cat`
 - Each person has a unique favorite drink: `coffee`, `milk`, `root beer`, `water`, `tea`
 - People have unique favorite sports: `soccer`, `swimming`, `tennis`, `baseball`, `basketball`
 - People use unique phone models: `oneplus 9`, `google pixel 6`, `iphone 13`, `huawei p50`, `samsung galaxy s21`

## Clues:
1. The root beer lover is the person who owns a dog.
2. The person who uses an iPhone 13 is the root beer lover.
3. There is one house between the person who owns a dog and the person who uses a Google Pixel 6.
4. Bob is somewhere to the right of the person who uses a OnePlus 9.
5. Alice is not in the fourth house.
6. Eric is in the fifth house.
7. The person who likes milk is the person who uses a Samsung Galaxy S21.
8. The person who loves baseball is the person who uses a Google Pixel 6.
9. The coffee drinker is in the third house.
10. Peter is the tea drinker.
11. The person who loves basketball is the person who owns a dog.
12. The person with a pet hamster is the person who loves tennis.
13. There are two houses between Alice and the tea drinker.
14. The person who loves soccer is the tea drinker.
15. The person who keeps a pet bird is directly left of the person with an aquarium of fish.
16. The person with an aquarium of fish is the person who likes milk.

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