Solving a Logic Puzzle with Z3

preview_player
Показать описание
Something different today.

Assuming you have Python3, you can install Z3 with 'python -m pip install z3-solver'.

Рекомендации по теме
Комментарии
Автор

After AoC finally got around to learn Z3. As an alternative I implemented it with Ints from 0-7 for agents and items instead of bools. Your solution came in handy with debugging :)

jvanelteren
Автор

can you give me a guide on how to master z3 python?

aleksandrebibilashvili