#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: Joaquín Nanni int DNI=45757989; //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> // bool tiene3pares(set &S){ set::iterator it= S.begin(); int count=0; while (it!=S.end()){ if(*it%2==0){ count++; } it++; } return count++>=3; } void set3par(vector> &VS, set &S) { S.clear(); setauxi; int n=VS.size(); for(int i=0; i---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }