#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: Agustin Glorioso int DNI=42923252; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void cr7(tree &T,tree::iterator itT,list &L){ if (itT == T.end()) { return ; } if (*itT == 7){ L.clear(); L.push_back(7); return; } tree::iterator c = itT.lchild(); while (c != T.end()) { cr7(T,c++,L); if (!L.empty()){ L.push_front(*itT); return; } } } list cr7(tree &T){ list L; L.clear(); cr7(T,T.begin(),L); return L; } int main() { Eval ev; int vrbs = 0; ev.eval<1>(cr7,vrbs); return 0; }