HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Strings > problem:


50409 - Random Password Generator

Guest
• Review clarifications (4)

Section problems

• 50533 - Contacts List
• 50763 - Valid Password
• 50596 - Your Ride Is Here (USACO)
• 50596 - Your Ride Is Here (USACO)
• 50759 - Text Statistics
• 50307 - Palindromes
• 50769 - Arithmetic expression
• 50315 - Pig Latin
• 50409 - Random Password Gen...
• 50323 - Filtering Contact List
• 50555 - Frequency of Letters
• 50655 - Divisibility by 9
• 50656 - Divisibility by 11
• 50767 - Censor
• 50762 - Rare name
• 50760 - Hexatridecimal Sum
• 50761 - Magic Words

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