Logo
(追記) (追記ここまで)

25268번 - Name Generation 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
3 초 (추가 시간 없음) 1024 MB47622410945.992%

문제

Ingrid is the founder and CEO of bicycle retailer BIKEA. The company sells bicycles for customers to assemble themselves.

BIKEA has $N$ different bicycles to offer. Ingrid wants to give each of them a human-readable name, to make it easy to remember. But doing this by hand is a very time consuming task.

You are given the number $N,ドル and your task is to generate $N$ different names. To make the names readable, they must satisfy the following:

  1. Each name has length between 3ドル$ and 20ドル,ドル and only consists of lowercase English letters.
  2. Three consecutive letters of a name cannot all be vowels or consonants. Here we consider a, e, i, o, u vowels, while the remaining 21ドル$ letters are consonants.

For example, hello, abc, and lkab are all valid names, whereas ingrid, bo and louise are invalid.

입력

The input consists of one integer $N$ (1ドル \leq N \leq 30000$), the number of names to generate.

출력

Print $N$ lines, each of them containing a name. It can be proven that it is possible to generate $N$ different names.

제한

예제 입력 1

3

예제 출력 1

abdullah
bjorn
nils

힌트

출처

Contest > KTH Challenge > KTH Challenge 2022 A번

  • 문제를 만든 사람: Nils Gustafsson
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /