#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: Patricio Gnoatto int DNI=43714510; bool esPrimo(int x){ bool primo = true; for(int i=2;i> &VS, set &S) { for(size_t i=0;iaux; while(it!=VS[i].end()){ if(esPrimo(*it)){ aux = VS[i]; break; } it++; } auto it2 = aux.begin(); while(it2!=aux.end()){ S.insert(*it2); it2++; } } } //---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*> int main() { Eval ev; int vrbs=0; ev.eval<1>(set_prime,vrbs); return 0; }