diff options
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)] |