Skip to content

Commit 2a4ce45

Browse files
committed
Cleaned up prints
1 parent d0a2fbe commit 2a4ce45

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

2024/10/c++/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ int dfs(Map& map, std::unordered_set<Coordinate>& coordinates, const int x, cons
1212
if (cur == -2 || cur != last+1) {
1313
return 0;
1414
}
15-
std::cout << "cur: " << cur << " at (" << x << "," << y << "), " << last << std::endl;
1615
if (cur == 9 && last == 8) {
1716
coordinates.insert({x, y});
1817
return 1;
@@ -41,7 +40,6 @@ int main() {
4140

4241
Map map(lines);
4342
std::unordered_map<char, std::vector<Coordinate>> coordinates;
44-
map.print();
4543

4644
std::cout << "Part A: " << getAnswer(map, false) << std::endl;
4745
std::cout << "Part B: " << getAnswer(map, true) << std::endl;

0 commit comments

Comments
 (0)