Files
kurt/examples/euler/1.kurt
2024-08-22 00:24:19 +03:00

19 lines
369 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
;; test
;; (format nil "~a~%" 233168)
;; https://projecteuler.net/problem=1
;; 1000den küçük, 3 veya 5 in katı olan tüm sayıların toplamını bulun.
;; Örnek: 10 için 3 + 5 + 6 + 9 = 23
makro problem-girdi 1000 son
0 3 döngü eş problem-girdi < iken
eş 3 % 0 =
üst 5 % 0 =
| ise
eş rot + değiş
yap
1 +
yap düş
dump