#C3097. Password Strength Checker

    ID: 46486 Type: Default 1000ms 256MiB

Password Strength Checker

Password Strength Checker

You are given a password string and you must determine its strength based on the following criteria:

  • The password must have at least 8 characters.
  • The password must contain at least one uppercase letter.
  • The password must contain at least one lowercase letter.
  • The password must contain at least one numerical digit.
  • The password must contain at least one special character from the set \(\{!@#$%^&*()-+\}\).

If the password meets all the criteria, output Strong Password. Otherwise, output a message that starts with Missing followed by the list of missing criteria, separated by commas (in the order: length, uppercase letter, lowercase letter, numerical digit, special character).

inputFormat

A single line containing the password string.

outputFormat

A single line message indicating either "Strong Password" or the missing criteria (prefixed with "Missing ").## sample

P@ssw0rd
Strong Password