#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: Justo Jose Cardilli int DNI=44427952; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> bool es_par(int numero){ if(numero%2==0){ return true; }else{ return false; } } bool tiene_par(set&S){ auto it = S.begin(); int cant_par=0; while (it != S.end()){ if(es_par(*it)){ ++cant_par; } ++it; } if(cant_par>=3){ return true; }else{ return false; } } void set3par(vector> &VS, set &S) { S.clear(); for(int i=0;i---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }