# include # include struct punto { double x, y; }; typedef struct punto Punto; // Punto en $R^2$. struct reparto{ char identificador; Punto origen, destino; }; typedef struct reparto Reparto; struct jornada{ int nServicios; Reparto servicio[100]; }; typedef struct jornada Jornada; int main() { Jornada jorn = {10, { { 'a' , 3, 2, -3, 2 }, { 'b' , 3, 2, 3, -2 }, { 'c' , 41, 5, -77, -1600 }, { 'd' , -81, -29, -68, -75 }, { 'e' , -77, 72, 67, 48 }, { 'f' , 31, -69, -94, -11 }, { 'g' , -640, -47, 78, 15 }, { 'h' , 56, -75, -4, 70 }, { 'i' , -83, 95, -56, -70 }, { 'j' , 14, 6, 87, -7 }} }; return 0; }