HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


110. 50409 - Random Password Generator

Guest
• Review clarifications (4)

Volume problems

• 062. 50390 - Total Salary Paid
• 066. 50523 - Total Tax to Pay
• 070. 50534 - Top Trading Company
• 076. 50289 - Monthly Allowance
• 080. 50347 - Selling Oranges
• 090. 50378 - Sum of the given digits
• 095. 50453 - The Cubic Difference
• 100. 50397 - The Number of Points ...
• 110. 50409 - Random Password...
• 120. 50684 - Sum of prime numbers...
• 125. 50578 - Mersenne prime
• 130. 50652 - Prime Factorization
• 132. 50474 - Sum of Two Primes
• 135. 50572 - Palindromic Numbers
• 140. 50393 - Palindromic Numbers
• 145. 50586 - Prime Palindromes
• 148. 50412 - K numbers

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Prepared by Ibrahim Mesecan.

Random Password Generator

The university gives passwords to users. This is done through an automatized system. Every student is given an 8 characters long random password. The passwords have the following format:

  • The first 3 chars are random uppercase English letters
  • Following 3 chars are random lowercase English letters
  • The last 2 chars are random digits (from 0..9)

Question:
Write a program that produces n random passwords.

Input specification
You will be given just one integer (n) where n is between 1 and 1000.

Output specification
Show n passwords with the given format above in n lines. All passwords must be different than all others.

Sample Input I   
  5
Sample Output I   
  BMVwzf34
  KWDsku81
  FDGqtm70
  ZUNygc36
  HTKhqe53


Для отправки решений необходимо выполнить вход.

www.contester.ru