Skip to content

Conversation

@tolikheha
Copy link

No description provided.

mask += mid.at(2) == '|' ? 8 : 0;
mask += low.at(0) == '|' ? 16 : 0;

// 1 - 01000 - 8
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

откуда появилось такое кодирование?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ну, саме число це по суті матриця 3х3
при чому один елемент може бути або порожнім або ні
і от на основі наявності в певних клітинках потрібних значень можна зрозуміти що там за число прийшло
а самі значення я підібрав виходячи з різниці між самими числами

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants