Skip to content

Commit

Permalink
/p/51: Add link to all 1362 solvable tuples
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Dec 23, 2024
1 parent ae4bb82 commit 7c3bbc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _posts/2022/2022-05-25-programming-24-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ if (positive.size() > 1) { /* check for ones */ }
## Postface
The *4 Numbers* website provides a comprehensive list of all 1362 solvable quadruples from 1 to 13 (i.e. formed with a standard 52-card set). Just grab the page and do some HTML processing, and a good test suite is readily available.
The *4 Numbers* website provides [a comprehensive list][4nums-list] of all 1362 solvable quadruples from 1 to 13 (i.e. formed with a standard 52-card set). Just grab the page and do some HTML processing, and a good test suite is readily available.
[Here][gist-cpp]’s the final version of the C++ code. It gives solutions to 1362 test cases where all of them are identical to those on the *4 Numbers* website.
Expand All @@ -792,4 +792,5 @@ The problem originates from a course *Program Design II* where a friend of mine
[wp]: https://en.wikipedia.org/wiki/24_(puzzle)
[4nums]: https://www.4nums.com/theory/
[4nums-list]: https://www.4nums.com/solutions/allsolvables/
[gist-cpp]: https://gist.github.com/iBug/ea958ca7f1270128d58b5176858d71cb

0 comments on commit 7c3bbc7

Please sign in to comment.