1
0

add path struct

This commit is contained in:
2020-01-07 23:14:48 -05:00
parent 462ebf7c25
commit c5f87942c9
3 changed files with 39 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ int main() {
auto vars = cube.solve();
for (size_t target = 1; target < vars.size(); target++) {
auto &action = vars.path[target];
auto &action = vars.path.get(target);
std::cout << action.from_idx << " * " << action.gen << " = " << target << std::endl;
}