#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: Meier Alexis int DNI=44734112; bool es_par(int num){ return num%2==0; } //---:---<*>---:---<*>---:---<*>---:---<*>---:---<*> void set3par(vector> &VS, set &S) { // COMPLETAR AQUI... for(auto conjunto : VS){ int num_pares=0; for(int num: conjunto){ if(es_par(num)){ num_pares++; } } if(num_pares >=3){ S.insert(conjunto.begin(),conjunto.end()); } } } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set3par,vrbs); return 0; }