HUAWEI OD Machine Test - Password Verification Qualified Program (C++ & Java & JS & Python)

Table of contents

describe

Enter a description:

Output description:

Example 1

Java:

python:

C++:


describe

Password requirements:

1. The length exceeds 8 bits

2. Including uppercase and lowercase letters. Numbers. Other symbols, at least three of the above four

3. There cannot be repeated substrings containing common elements with a length greater than 2 (Note: other symbols do not contain spaces or newlines)</

Guess you like

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