Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve Problem 840. Magic Squares In Grid #1630

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Solve Problem 840. Magic Squares In Grid #1630

merged 2 commits into from
Aug 16, 2024

Conversation

threeal
Copy link
Owner

@threeal threeal commented Aug 9, 2024

This pull request resolves #1629 by solving the problem 840. Magic Squares In Grid in C++. It does so by iterating through the given grid to find all subgrids of size 3x3 with the number 5 at the center, and then checking the rest of the cells against the possible permutations of the magic squares.

@threeal threeal added this to the August 2024 milestone Aug 9, 2024
@threeal threeal self-assigned this Aug 9, 2024
@threeal threeal force-pushed the solve-problem-840 branch from 4e95f8d to 22ae723 Compare August 9, 2024 02:23
@threeal threeal merged commit 0586958 into main Aug 16, 2024
2 checks passed
@threeal threeal deleted the solve-problem-840 branch August 16, 2024 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Harvested
Development

Successfully merging this pull request may close these issues.

Solve Problem 840. Magic Squares In Grid
1 participant