src/2017/days/day-10.lisp @ 2848a4548adf
2023/01 and 2022/01
Also start porting my test data to the new account, since Twitter imploded and
apparently it's impossible for a website to store a goddamn username and
password in The Year of Our Lord 2023 so everyone just outsources auth all
the time, ugh.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 01 Dec 2023 11:05:43 -0500 |
parents |
182bdd87fd9e |
children |
(none) |
(advent:defpackage* :advent/2017/10)
(in-package :advent/2017/10)
(define-problem (2017 10) (data alexandria:read-stream-content-into-string)
(19591 "62e2204d2ca4f4924f6e7a80f1288786")
(values
(advent/knot-hash:simple-knot-hash (read-numbers-from-string data))
(advent/knot-hash:full-knot-hash (str:trim data))))