benchmarks.wiki / Public workspace

ZebraLogicBench / lgp-test-6x5-18 / 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: `Arnold`, `Peter`, `Eric`, `Carol`, `Alice`, `Bob`
 - The people are of nationalities: `swede`, `brit`, `chinese`, `dane`, `german`, `norwegian`
 - People have unique favorite book genres: `science fiction`, `mystery`, `fantasy`, `biography`, `historical fiction`, `romance`
 - Everyone has a favorite smoothie: `blueberry`, `dragonfruit`, `desert`, `watermelon`, `cherry`, `lime`
 - People use unique phone models: `oneplus 9`, `samsung galaxy s21`, `huawei p50`, `xiaomi mi 11`, `iphone 13`, `google pixel 6`

## Clues:
1. Alice is the British person.
2. There is one house between Eric and the Dragonfruit smoothie lover.
3. The Chinese is somewhere to the left of Alice.
4. The person who loves historical fiction books is directly left of the person who loves biography books.
5. The person who loves biography books is somewhere to the right of Carol.
6. The person who uses an iPhone 13 is somewhere to the right of the Desert smoothie lover.
7. The person who loves mystery books is the British person.
8. Bob is somewhere to the right of the person who uses a OnePlus 9.
9. Carol is the person who drinks Blueberry smoothies.
10. There are two houses between the person who loves romance books and the Watermelon smoothie lover.
11. The person who likes Cherry smoothies is the Swedish person.
12. The person who loves science fiction books is the person who uses a Google Pixel 6.
13. The person who drinks Lime smoothies is Eric.
14. Bob is in the fifth house.
15. Carol is in the second house.
16. The Norwegian and Alice are next to each other.
17. The Swedish person is not in the fifth house.
18. The German and the Norwegian are next to each other.
19. The person who loves fantasy books is the Dragonfruit smoothie lover.
20. The British person is somewhere to the left of Peter.
21. The person who loves romance books is the person who uses a Samsung Galaxy S21.
22. Alice is the person who uses a Xiaomi Mi 11.
23. The person who loves romance books is Eric.

size

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