Updated.
This commit is contained in:
1 parent
17e3e4f9c5
commit
593e3e1804
2 files changed
+5
-1
No files matched your search
@@ -6,3 +6,7 @@ tags
|
|||||||
build/*
|
build/*
|
||||||
vgcore.*
|
vgcore.*
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
|
|
||||||
|
*
|
||||||
|
!/**/
|
||||||
|
!*.*
|
||||||
+1
-1
@@ -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