PRF192_-_PE_-_FA_2024_2865.webp
M

PRF192_-_PE_-_FA_2024_2865.webp

PRF192-Examination 01
Problem 3
[3 Points]
Reference from Microsoft, a strong password is a string that meets all of the following conditions:
• At least 12 characters long but 14 or more is better.
• A combination of uppercase letters, lowercase letters, numbers, and symbols.
To determine whether a password is strong, you need to identify its length L, count the number of uppercase letters H, count the number of lowercase letters T, count the number of digits S, and count the number of special characters D.
Your task is to input a password string and then output the five values L, H, T, S, and D.
Example 1: For the string "aB34@#", the required output is 6 values: 6, 1, 1, 2, 2.
Example 2: For the string "Admin@230902", the required output is 5 values: 12, 1, 4, 6, 1.
Input
Only one line contains a password.
Constraint
The maximum length of password is 200 characters.
Output
Please print the five values L, H, T, S, and D, separated by ", " (a comma followed by a space)..
Sample
Input
Output
Sample 1
aB34@#
6, 1, 1, 2, 2
Sample 2
Admin@230902
12, 1, 4, 6, 1
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRF192
Thêm bởi
MyThuan2001
Ngày thêm
Lượt xem
820
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRF192_-_PE_-_FA_2024_2865.webp
File size
267.8 KB
Dimensions
1920px x 991px

Share this media

Back
Bên trên Bottom