all AI news
so
April 15, 2024, 11:05 p.m. | Leo
DEV Community dev.to
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct Proceso {
string id;
int tiempo;
int prioridad;
Proceso* siguiente;
};
Proceso* primero = NULL;
Proceso* ultimo = NULL;
void agregarProceso() {
int n;
cout<<"cuantos datos desea ingresar: ";
cin>>n;
for(int i=0;i<n;i++){
Proceso* nuevo = new Proceso();
cout << "Ingrese el id del proceso: ";
cin >> nuevo->id;
cout << "Ingrese el tiempo del proceso: ";
cin >> nuevo->tiempo;
cout << "Ingrese la prioridad del proceso: ";
cin >> nuevo->prioridad; …
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Senior Machine Learning Engineer (MLOps)
@ Promaton | Remote, Europe
Data Scientist
@ Publicis Groupe | New York City, United States
Bigdata Cloud Developer - Spark - Assistant Manager
@ State Street | Hyderabad, India