HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Functions > problem:


110. 50409 - Random Password Generator

Guest
• Review clarifications (4)

Volume problems

• 50296 - Total Discount Rate
• 50559 - Prime Factors of a Number
• 040. 50354 - Intersecting Rectangles
• 060. 50727 - Fibonacci Numbers
• 061. 50733 - The Highest Average
• 076. 50289 - Monthly Allowance
• 080. 50347 - Selling Oranges
• 090. 50378 - Sum of the given digits
• 110. 50409 - Random Password...
• 120. 50684 - Sum of prime numbers...
• 130. 50652 - Prime Factorization
• 140. 50393 - Palindromic Numbers
• 148. 50412 - K numbers
• 150. 50375 - Area of Circles
• 160. 50388 - Number of Armstrong ...

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