#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: Burella Lucio int DNI=41603130; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> listcr7(tree &T,tree::iterator it_T){ listL; listL_2; if(*it_T==7){ L.push_back(*it_T); return L; } auto it_L = it_T.lchild(); while ( it_L != T.end()){ L_2= cr7(T,it_L); if ( L_2.size()) { L_2.push_front(*it_T); return L_2; } it_L++; } 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; }