Use parse-long

This commit is contained in:
Joseph Ferano 2025-12-01 19:39:34 +07:00
parent ab2f611f30
commit 527b1d41ea

View File

@ -20,7 +20,7 @@ L82")
[(if (= "R" (str (first line))) [(if (= "R" (str (first line)))
#'+ #'+
#'-) #'-)
(Integer/parseInt (str/join (rest line)))]) (parse-long (str/join (rest line)))])
(str/split-lines input))] (str/split-lines input))]
(loop [s sequence (loop [s sequence
curr 50 curr 50