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

18640번 - AI 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB135453433.663%

문제

Text generation is one of the important tasks in the AI world. The criteria for success are usually based on generated texts being indistinguishable from texts written by humans.

In this problem, you need to generate phrases which look like ones humans came up with. More precisely, your program needs to print n distinct strings, out of which at least 90% appear as titles of articles in the German Wikipedia. Even more precisely, at least 90% of the strings you print need to appear as lines in the text file available at http://opentrains.mipt.ru/wikinames.dat (obtained by unpacking https://startl.ink/3cgCuco).

The size of the unpacked file is 72036684 bytes, and it has 3828917 lines. You are allowed to download and analyze it on your computer during the contest, but the solution you submit must not access the network.

The strings will be compared for exact equality, byte-for-byte.

The source code size limit for this problem is 100000 bytes.

입력

The only line of the input contains a single integer n, n = 3 (sample case) or n = 50000 (the only non-sample case).

출력

Output n lines. The lines should be distinct, and at least 0.9 · n of them (rounded up) need to be equal to one of the 3828917 lines of the text file mentioned above.

제한

예제 입력 1

3

예제 출력 1

Petrowych
Petrozavodsk
Petrozza

힌트

출처

Camp > Petrozavodsk Programming Camp > Summer 2019 > Day 7: Petr Mitrichev Contest 15 A번

채점 및 기타 정보

  • 소스 코드의 크기는 100000B을 넘을 수 없다.
(追記) (追記ここまで)

출처

대학교 대회

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

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