#define USECHRONO #undef HAVE_MPI #include "eval.hpp" #include #include #include #include #include using namespace aed; using namespace std; //---:---<*>---:---<*>- COMIENZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> // COMPLETAR DNI y NOMBRE AQUI: // Nombre: Enrique Ismael int DNI=42924883; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> list cr7(tree&T,tree::iterator it){ listL; if(*it==7){ L.push_back(*it); return L ; } tree::iterator it_T=it.lchild(); while(it_T!=T.end()){ listLaux=cr7(T,it_T); if(Laux.size()){ Laux.push_front(*it); return Laux; } it_T++; } L.clear(); return L; }; list cr7(tree &T){ return cr7(T,T.begin()); } int main() { Eval ev; int vrbs = 0; ev.eval<1>(cr7,vrbs); return 0; }