Huawei OD machine test - identify valid IP addresses and masks and perform classification statistics (C++ & Java & JS & Python)

Table of contents

describe

Enter a description:

Output description:

Example 1

Example 2

java:

python:

C++:


describe

Please analyze the IP address and the corresponding mask for classification

Guess you like

Origin blog.csdn.net/m0_68036862/article/details/132692795