diff options
author | Marvin Borner | 2024-03-23 19:18:16 +0100 |
---|---|---|
committer | Marvin Borner | 2024-03-23 19:18:16 +0100 |
commit | 7bfc78b122ad9cbb65eed16f7de4d4021547c2a8 (patch) | |
tree | e45a22aeddb12257a94e32083ed10dfa3a0da66e /samples/euler/003.bruijn | |
parent | fc9980e5e19602748b8cc596cdd07c02ac2889f1 (diff) |
Some Project Euler solutions
Diffstat (limited to 'samples/euler/003.bruijn')
-rw-r--r-- | samples/euler/003.bruijn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/euler/003.bruijn b/samples/euler/003.bruijn new file mode 100644 index 0000000..0dc016d --- /dev/null +++ b/samples/euler/003.bruijn @@ -0,0 +1,8 @@ +:import std/Combinator . +:import std/Math . + +solve factors → lmax + +:test ((solve (+13195)) =? (+29)) ([[1]]) + +main [solve (+600851475143)] |