This commit is contained in:
2025-11-30 12:18:05 -05:00
parent 17e3e4f9c5
commit 593e3e1804
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored
View File

@@ -6,3 +6,7 @@ tags
build/*
vgcore.*
compile_commands.json
*
!/**/
!*.*

View File

@@ -40,7 +40,7 @@ int main(int argc, char** argv) {
default: continue;
}
if (floor == -1 && basement_pos == -1) { basement_pos = i + 1; }
if (floor == -1 && basement_pos == -1) basement_pos = i + 1;
}
printf("Part 1 solution: %d\n", floor);