[Noti-aed] tpl3-2023-set3par-Demartin_Alondra
Alondra Demartin
alodemartin en gmail.com
Jue Nov 9 20:44:43 -03 2023
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://venus.santafe-conicet.gov.ar/pipermail/noti-aed/attachments/20231109/19fcdf37/attachment.html>
------------ próxima parte ------------
#define USECHRONO
#undef HAVE_MPI
#include "eval.hpp"
#include <cassert>
#include <climits>
#include <cstdlib>
#include <stack>
using namespace aed;
using namespace std;
//---:---<*>---:---<*>- COMIENZA CODIGO FUNCION --:---<*>---:---<*>---:---<*>
// COMPLETAR DNI y NOMBRE AQUI:
// Nombre: Alondra Demartin
int DNI=41979987;
//---:---<*>---:---<*>---:---<*>---:---<*>---:---<*>
void set3par(vector<set<int>> &VS, set<int> &S) {
// COMPLETAR AQUI...
if(VS.empty()) return;
int aux = 0;
for(auto &i : VS){
for(int j : i){
if(j%2 == 0)
aux++;
}
if(aux >= 3){
for(int k : i)
S.insert(S.end(),k);
}
aux = 0;
}
}
//---:---<*>---:---<*>- FINALIZA CODIGO FUNCION --:---<*>---:---<*>---:---<*>
int main() {
Eval ev;
int vrbs=0;
ev.eval<1>(set3par,vrbs);
return 0;
}
Más información sobre la lista de distribución Noti-AED