[Noti-aed] TPL 3 Balbin Lina 44459174
Lina Balbin
mariabalbin18 en gmail.com
Jue Nov 9 19:54:51 -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/8457453d/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: Lina Balbin
int DNI=44459174;
//---:---<*>---:---<*>---:---<*>---:---<*>---:---<*>
void set3par(vector<set<int>> &VS, set<int> &S) {
// COMPLETAR AQUI...
S.clear();
for(auto &c : VS){
int pares = 0;
for(auto i: c) {
if(i % 2 == 0){
pares++;
}
}
if(pares >= 3){
S.insert(c.begin(), c.end());
}
}
}
//---:---<*>---:---<*>- 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