#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: Gonzalo Martinez Yattah int DNI=44780897; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void SETUNION(set &A, set &B, set &C){ C = A; C.insert(B.begin(),B.end()); } void set3par(vector> &VS, set &S) { set setaux; for(int i=0;i::iterator it = setaux.begin(); int cont = 0; while(it!=setaux.end()){ if((*it % 2) == 0){ cont++; } it++; } if(cont>2){ SETUNION(S,VS[i],S); } } } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }