1
submitted 4 days ago by planet@clj.social to c/clojure@lemmy.ml

Project Euler Problem 9

https://clojure-diary.gitlab.io/2024/11/13/project-euler-problem-9.html

Code ;; euler_9.clj (def possibilities (for [a (range 1 1001) b (range (+ a 1) 1001)] [a b])) (defn satisfies-condition [possibility] (let [a (first possibility) b (second possibility) c (- 1000 (+ a b))] (== (+ (* a...

#clojure #clj #cljs !clojure@lemmy.ml @clojure

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 13 Nov 2024
1 points (100.0% liked)

Clojure programming language discussion

451 readers
1 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 4 years ago
MODERATORS