HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > Sem2 - W1 > problem:


13-Fall2-30. 50409 - Random Password Generator

Sem2 - W1

Start: Mar.07.2023 at 12:46:44 AM
Finish: Mar.13.2023 at 07:46:44 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (4)

Contest problems

• 50451 - Processing Cost
• 50582 - Number of digits
• 13-Fall2-30. 50409 - Random Pa...
• 2013-12-30. 50320 - Random Sorte...
• 2015-10Gr-30. 50321 - Missing Nu...

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