haskell: add [p12, p17]

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-11-07 19:17:35 +05:30
parent 22fdf20500
commit de6ea02b14
7 changed files with 185 additions and 5 deletions

4
haskell/p16.hs Normal file
View File

@@ -0,0 +1,4 @@
import Lib (sumOfDigits)
main :: IO ()
main = putStr $ show $ sumOfDigits (2^1000 :: Integer)