Package net.fornwall.aoc
Class Solver
java.lang.Object
net.fornwall.aoc.Solver
A solver of Advent of Code problems.
Solutions are implemented in Rust and exposed to Java using JNI - see https://aoc.fornwall.net
-
Method Summary
-
Method Details
-
solve
Solve the specified problem with the given input.- Parameters:
year
- the year of the problem being solvedday
- the day of the problem being solved (1-25)part
- the part of the problem being solved (1 or 2)input
- the input text to the problem- Returns:
- the answer of the specified problem and input
- Throws:
SolverException
- in case of an error happened and the problem could not be solved
-