X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/031fcd433e233cf31c4ee732883940d9b8c8165a..HEAD:/src/main.cpp?ds=inline diff --git a/src/main.cpp b/src/main.cpp index e4f0326..a16a24e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -29,7 +29,7 @@ int main (int argc, char *argv[]) it = lst.begin (); while (it != lst.end ()) { - ClaveFija c(*it, 0); + ClaveFija c(*it); double l = Random::Double (0.0f, 1.0f); std::cout << l << " >= " << paltas << std::endl; @@ -45,7 +45,7 @@ int main (int argc, char *argv[]) } else { /* Tengo que borrar una clave entre 0 e "i" de la lista * porque son las que ya agregue. */ - ClaveFija c(km.GetRandom (), 0); + ClaveFija c(km.GetRandom ()); try { tree.DelKey (c); @@ -64,7 +64,7 @@ int main (int argc, char *argv[]) int bien = 0; int mal = 0; while (it != l.end ()) { - ClaveFija c(*it, 0); + ClaveFija c(*it); BTreeFindResult *r; r = tree.FindKey (c);