added some solutions in racket, deuglyfied 14
This commit is contained in:
parent
5f58ca8c87
commit
a6770f6bca
4 changed files with 41 additions and 16 deletions
4
16/euler16.rkt
Normal file
4
16/euler16.rkt
Normal file
|
@ -0,0 +1,4 @@
|
|||
#lang racket
|
||||
|
||||
(foldl + 0 (map (λ (x) (- (char->integer x) 48))
|
||||
(string->list (number->string (expt 2 1000)))))
|
Reference in a new issue