From 7db39f82bfcd196f840bf3c2a820331c6a04d570 Mon Sep 17 00:00:00 2001 From: Simponic Date: Sun, 11 Dec 2022 22:27:34 -0700 Subject: Day 12 --- day-04/sol.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'day-04/sol.cpp') diff --git a/day-04/sol.cpp b/day-04/sol.cpp index 7a6a0cb..d7847da 100644 --- a/day-04/sol.cpp +++ b/day-04/sol.cpp @@ -61,13 +61,11 @@ std::string solve(std::vector &stacks, std::vector &lin ; if (problem == PROBLEM_1) - { for (int i = 0; i < amount; ++i) { stacks[to - 1].push(stacks[from - 1].top()); stacks[from - 1].pop(); } - } else { for (int i = 0; i < amount; ++i) -- cgit v1.2.3-70-g09d2