Skip to content

Commit

Permalink
aoc 2024 day 2 refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCK committed Dec 2, 2024
1 parent d74b409 commit cc9678c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private static List<Integer> readInput(final Scanner in) {
final List<Integer> line = new ArrayList<>();

for (String part : in.nextLine().split(" ")) {
line.add(Integer.parseInt(part));
line.add(Integer.valueOf(part));
}

return line;
Expand Down

0 comments on commit cc9678c

Please sign in to comment.