Updated.
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -6,3 +6,7 @@ tags
|
|||||||
build/*
|
build/*
|
||||||
vgcore.*
|
vgcore.*
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
|
|
||||||
|
*
|
||||||
|
!/**/
|
||||||
|
!*.*
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ int main(int argc, char** argv) {
|
|||||||
default: continue;
|
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);
|
printf("Part 1 solution: %d\n", floor);
|
||||||
|
|||||||
Reference in New Issue
Block a user