#define USECHRONO #undef HAVE_MPI #include "eval.hpp" #include #include #include #include using namespace aed; using namespace std; //---:---<*>---:---<*>- COMIENZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> // COMPLETAR DNI y NOMBRE AQUI: // Nombre: Torres Mario Tomas int DNI=44941170; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void set3par(vector> &VS, set &S) { for(int i=0;i aux = VS[i]; for( set::iterator it=aux.begin(); it!=aux.end(); ++it ) { if (*it % 2 == 0) { cont++; } } if (cont >= 3) { for( set::iterator it=aux.begin(); it!=aux.end(); ++it ) { S.insert(S.end(),*it); } } aux.clear(); } } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }