aboutsummaryrefslogtreecommitdiffstats
path: root/AoC2022/01/solver.el
diff options
context:
space:
mode:
Diffstat (limited to 'AoC2022/01/solver.el')
-rw-r--r--AoC2022/01/solver.el9
1 files changed, 3 insertions, 6 deletions
diff --git a/AoC2022/01/solver.el b/AoC2022/01/solver.el
index ec5710f..8dba125 100644
--- a/AoC2022/01/solver.el
+++ b/AoC2022/01/solver.el
@@ -6,10 +6,6 @@
;; Maintainer: Óscar Nájera <hi@oscarnajera.com>
;; Created: December 02, 2022
;; Modified: December 02, 2022
-;; Version: 0.0.1
-;; Keywords: abbrev bib c calendar comm convenience data docs emulations extensions faces files frames games hardware help hypermedia i18n internal languages lisp local maint mail matching mouse multimedia news outlines processes terminals tex tools unix vc wp
-;; Homepage: https://github.com/titan/solver
-;; Package-Requires: ((emacs "25.1"))
;;
;; This file is not part of GNU Emacs.
;;
@@ -18,7 +14,10 @@
;; Solution for AoC 2022 day 1
;;
;;; Code:
+
(require 'seq)
+(require 'subr-x)
+
(defun solver-elves-rations ()
(with-temp-buffer
(insert-file-contents "input")
@@ -38,5 +37,3 @@
(should (= 213159 (apply #'+ (seq-take (sort rations #'>) 3))))))
-(provide 'solver)
-;;; solver.el ends here