|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|2 초||512 MB||15||7||5||50.000%|
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.
Petrowych Petrozavodsk Petrozza