Problem 3451 · Medium

Find Invalid IP Addresses

teaching version (not the official statement): find IPv4 strings with the wrong octet count, a non-numeric octet, a leading zero or an octet above 255, then count them. Official rule not verified.

Open the interactive visualisation