You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elseif (sf::Keyboard::isKeyPressed(sf::Keyboard::Num8) || sf::Keyboard::isKeyPressed(sf::Keyboard::Numpad8)){ //TODO rewirite function for diffent types of LCA
116
116
std::vector<int> parents = call_get_parents();
117
117
if (!parents.empty()){
118
-
node lca = call_lca_lite(parents);
118
+
node lca = call_lca(parents);
119
119
std::cout << "El LCA es " << lca.id << std::endl;
120
120
make_sprite_red(sprites[lca.id]);
121
121
}
122
122
else
123
123
std::cout << "Hay, un ciclo, no es arbol" << std::endl;
0 commit comments