doh, it was same thing with last golf and I didn't produce any competitive code in the first round...

so, will see.

anyway...

you have almost all cases in your examples, but...
is this correct:
quote:

Input: IP=10.10.5.4,NetworkID=10.10.5.5
Output:
Moan[0]=2
Moan[1]=255.255.255.5
...
Moan[250]=255.255.255.253

have hard time understanding the subnet mask thing as I'm not network admin...
just a damn coder [Wink]
_________________________
!

download KiXnet