#K5771. Random Password Generator
Random Password Generator
Random Password Generator
In this problem, you are required to generate a random password that meets all of the following criteria:
- The password must be at least 8 characters long.
- It must contain at least one uppercase letter ((A-Z)).
- It must contain at least one lowercase letter ((a-z)).
- It must contain at least one digit ((0-9)).
- It must contain at least one special character from the set:
! @ # $ % ^ & * ( ) - _ + =
.
Your program should read an integer from standard input which is used as the seed for generating the password. The password should be printed to standard output. The use of the input seed ensures that the output is deterministic and can be used for testing.
inputFormat
The input consists of a single integer which will be used as the seed for the random number generator. This input is given via standard input (stdin).
outputFormat
Output a single line containing the generated password that meets all the required criteria. The output should be printed to standard output (stdout).## sample
1
wLX$7I7D