Updated.
This commit is contained in:
1 parent
17e3e4f9c5
commit
593e3e1804
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user