#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: Boarzola Mayor Juan Francisco int DNI=44922798; bool mas3par(set &S){ auto it = S.begin(); int cont = 0; while(it!=S.end() and cont != 3){ if(*it%2 == 0) cont ++; it++; } if(cont == 3) return true; return false; } void set_union_mod(set &S, set &C){ auto it = C.begin(); while(it != C.end()){ if(S.find(*it)==S.end()) S.insert(*it); it++; } } //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void set3par(vector> &VS, set &S) { for(int i=0;i---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }