split a ip segment list by erlang

Completado Publicado hace 5 años Pagado a la entrega
Completado Pagado a la entrega

Provide a function to implement the following function.

If ip segment is more than A.B.0.0/16, please spilt it to an array of A.B.0.0/16 ip segments.

source lists: [{{192,0,0,0},{192,3,0,225}},{{192,13,0,0},{192,15,255,255}},{{192,122,5,0},{192,122,255,255}}]

target lists:

[ {{192,0,0,0},{192,0,255,255}},{{192,1,0,0},{192,1,255,255}},{{192,2,0,0},{192,2,255,255}},{{192,3,0,0},{192,3,255,225}},

{{192,13,0,0},{192,13,255,255}},{{192,14,0,0},{192,14,255,255}},{{192,15,0,0},{192,15,255,255}},

{{192,122,5,0},{192,122,255,255}}

]

Erlang

Nº del proyecto: #18549481

Sobre el proyecto

1 propuesta Proyecto remoto Activo hace 5 años

Adjudicado a:

naryl

Hello. The project description is quite clear. It will only take me an hour after you award the project.

$20 USD en 10 días
(1 comentario)
0.6