diff options
author | lamp | 2023-12-08 14:31:31 +0000 |
---|---|---|
committer | lamp | 2023-12-08 14:31:31 +0000 |
commit | 8b200eebe9c88f98e7136b206790d6ef472a28ac (patch) | |
tree | 548eefa099bc7022b52c14fcee80a049f625f6f5 /4-2.scm | |
parent | 072ad674c7fa940d89182c548489136e7e8d55d7 (diff) |
day 4: tidy
Diffstat (limited to '4-2.scm')
-rwxr-xr-x | 4-2.scm | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -25,11 +25,6 @@ (lines (read-lines port)) (cards (map parse lines))) (close-port port) - ;; (while (< index (length cards)) - ;; (do ((i 1 (1+ i))) ((> i (cdr (list-ref cards index)))) - ;; (set! cards (append cards `(,(assoc (+ (car (list-ref cards index)) i) cards))))) - ;; (set! index (1+ index))) - ;; (display (length cards)) (do ((i 0 (1+ i))) ((= i (length cards))) (do ((j 1 (1+ j))) ((> j (car (list-ref cards i)))) (let ((card (list-ref cards (+ i j)))) |