4 lines
No EOL
121 B
Racket
4 lines
No EOL
121 B
Racket
#lang racket
|
|
|
|
(- (* (apply + (range 1 101)) (apply + (range 1 101)))
|
|
(foldl + 0 (map (λ (x) (* x x)) (range 1 101)))) |