Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    There are two ways to handle IPv4 addresses with leading zeroes in the octetts.
    Non-Microsoft way: ignore the leading zero -> this would lead to the testcase being wrong and 123.045.067.089 being a valid address
    Microsoft way: a leading zero indicates the entered octett is in base 8 (octal) -> this would mean the test case is correct, because "089" is not a valid octal number

    I guess both ways have their place, but it should be defined in the task description