HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Strings > problem:


50409 - Random Password Generator

Guest
• Review clarifications (4)

Section problems

• 50759 - Text Statistics
• 50246 - Making Potions
• 50258 - String manipulations
• 50264 - String Multiplication
• 50307 - Palindromes
• 50315 - Pig Latin
• 50484 - Number Of Letters
• 50323 - Filtering Contact List
• 50409 - Random Password Gen...
• 50763 - Valid Password
• 50429 - Secret Message
• 50511 - Class Average
• 50502 - Welcome Andi - 1
• 50503 - Welcome Andi - 2
• 50926 - School Mail Merge
• 50764 - Fast Typing Competition
• 50533 - Contacts List

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