Updated.
This commit is contained in:
@@ -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