library(adventofcode20)
x <- readLines("./inst/input18.txt")
p1 <- sum(eval_new_math(x))
p2 <- sum(eval_new_new_math(x))
stopifnot(p1 == aoc20_solutions$day18a)
stopifnot(p2 == aoc20_solutions$day18b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.