Skip to content

@gcr /calc-year.rkt
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#lang racket
;; Builds lists that look like
;; '(10 c 9 / 8 * 7 + 6 - 5 c 4 * 3 + 2 - 1)
;; where symbols indicate operation, and 'c' indicates concatenating
;; digits, and then combines terms in the list.
;; Remove all the concatenated elements from this list
;; TODO: Is there a better way? racket/match goes right-to-left which
;; is wrong.
(define (remove-concats lst)
(cond [(= (length lst) 1)
lst]
[else
(define a (first lst))
(define oper (second lst))
(define b (third lst))
(define bs (rest (rest lst)))
(define after (rest bs))
(cond
[(eq? oper 'c) (remove-concats (list* (+ (* 10 a) b) after))]
[else (list* a oper (remove-concats bs))])]))
(module+ test
;; You should use 'raco test yearcalc.rkt' to run these tests.
;; No output indicates success.
(require rackunit)
(check-equal?
(remove-concats '(10 + 9 c 8 c 7 - 6 c 5 + 4 * 3 / 2 / 1))
'(10 + 987 - 65 + 4 * 3 / 2 / 1)))
;; Remove all the multiplies and divides from this list
(define (remove-*-/ lst)
(cond [(= (length lst) 1)
lst]
[else
(define a (first lst))
(define oper (second lst))
(define b (third lst))
(define bs (rest (rest lst)))
(define after (rest bs))
(cond
[(eq? oper '*) (remove-*-/ (list* (* a b) after))]
[(eq? oper '/) (remove-*-/ (list* (/ a b) after))]
[else (list* a oper (remove-*-/ bs))])]))
(module+ test
(check-equal?
(remove-*-/ '(10 + 987 - 65 + 4 * 3 / 2 / 1))
'(10 + 987 - 65 + 6)))
;; Remove all the adds and subtracts from this list
(define (remove-+-- lst)
(cond [(= (length lst) 1)
lst]
[else
(define a (first lst))
(define oper (second lst))
(define b (third lst))
(define bs (rest (rest lst)))
(define after (rest bs))
(cond
[(eq? oper '+) (remove-+-- (list* (+ a b) after))]
[(eq? oper '-) (remove-+-- (list* (- a b) after))]
[else (list* a oper (remove-+-- bs))])]))
(module+ test
(check-equal?
(remove-+-- '(10 + 987 - 65 + 6))
'(938)))
(module+ main
(define years-seen (set))
(let loop ([sofar '(10)]
[next 9])
(cond [(zero? next)
(define value (first
(remove-+--
(remove-*-/
(remove-concats (reverse sofar))))))
(when (and (integer? value) (< 2000 value 2105))
(display (reverse sofar))
(display " = ")
(displayln value)
(set! years-seen (set-add years-seen value)))]
[else
(loop (list* next
'c
sofar)
(sub1 next))
(loop (list* next
'*
sofar)
(sub1 next))
(loop (list* next
'/
sofar)
(sub1 next))
(loop (list* next
'+
sofar)
(sub1 next))
(loop (list* next
'-
sofar)
(sub1 next))]))
(displayln (set-subtract (for/set ([i (in-range 2000 2105)]) i)
years-seen)))
(10 c 9 c 8 * 7 / 6 * 5 - 4 c 3 c 2 c 1) = 2084
(10 c 9 c 8 * 7 - 6 c 5 * 4 c 3 * 2 * 1) = 2096
(10 c 9 c 8 * 7 - 6 c 5 * 4 c 3 * 2 / 1) = 2096
(10 c 9 c 8 * 7 - 6 c 5 * 4 c 3 * 2 + 1) = 2097
(10 c 9 c 8 * 7 - 6 c 5 * 4 c 3 * 2 - 1) = 2095
(10 c 9 c 8 + 7 c 6 c 5 * 4 / 3 - 2 c 1) = 2097
(10 c 9 c 8 + 7 c 6 + 5 + 4 c 3 * 2 c 1) = 2082
(10 c 9 c 8 + 7 c 6 - 5 + 4 c 3 * 2 c 1) = 2072
(10 c 9 c 8 + 7 * 6 * 5 * 4 + 3 * 2 c 1) = 2001
(10 c 9 c 8 + 7 * 6 + 5 + 4 c 3 * 2 c 1) = 2048
(10 c 9 c 8 + 7 * 6 - 5 + 4 c 3 * 2 c 1) = 2038
(10 c 9 c 8 + 7 + 6 c 5 c 4 * 3 / 2 * 1) = 2086
(10 c 9 c 8 + 7 + 6 c 5 c 4 * 3 / 2 / 1) = 2086
(10 c 9 c 8 + 7 + 6 c 5 c 4 * 3 / 2 + 1) = 2087
(10 c 9 c 8 + 7 + 6 c 5 c 4 * 3 / 2 - 1) = 2085
(10 c 9 c 8 + 7 + 6 c 5 c 4 + 3 c 2 c 1) = 2080
(10 c 9 c 8 + 7 + 6 c 5 + 4 c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 1) = 2009
(10 - 9 - 8 + 7 / 6 * 5 c 4 * 3 c 2 + 1) = 2010
(10 - 9 - 8 + 7 / 6 * 5 c 4 * 3 c 2 - 1) = 2008
(10 - 9 - 8 - 7 c 6 + 5 * 4 c 3 c 2 * 1) = 2077
(10 - 9 - 8 - 7 c 6 + 5 * 4 c 3 c 2 / 1) = 2077
(10 - 9 - 8 - 7 c 6 + 5 * 4 c 3 c 2 + 1) = 2078
(10 - 9 - 8 - 7 c 6 + 5 * 4 c 3 c 2 - 1) = 2076
#<set: 2000 2102>
real 0m32.394s
user 0m31.011s
sys 0m0.363s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.