Submit | All submissions | Best solutions | Back to list |
ESSY - Essay |
The impending doom called final examination is approaching this year’s high school seniors: one of the compulsory tasks is going to be writing an essay in their mother tongue. Mirko is under the impression that certain political parties are going to keep their promises, those regarding informatization and digitalization, which is why he thinks that this year’s essays are going to be marked by a computer, instead of a human.
To test his doubts, Mirko is going to write an essay that doesn’t necessarily make sense at all, but should pass the automatic basic conditions check. The essay passes the check if:
- it contains at least A, and at most B words;
- every word contains at least one, and at most 15 letters;
- the used vocabulary is large enough, in other words, the essay contains at least B⁄2 different words.
Mirko was up late last night watching Big Brother, so he is asking you to write such an essay instead of him. The essay should be output in a single line, using only lowercase letters of the English alphabet and spaces (therefore, without punctuation such as dots, commas and such). The words used can, but need not be, words from the English (or any) language.
Input
The first and only line of input contains the integers A and B (1 ≤ A ≤ B ≤ 100 000) from the task.
Output
The first and only line of output must contain any essay that meets the rules from the task.
Sample Tests
Please note: each of the lower outputs is written in one line, but is broken into several lines because of the lack of space.
Input 1
2 7
Output 1
this shakespeare fella is good
Input 2
26 30
Output 2
the teacher told us that we did not need to read that but it was too loud to hear so can i still get points for this
Input 3
19 19
Output 3
the consequences of the conceptual discourse in the aforementioned novella seemingly reflect the paradigmatic tendencies of the stylistical classification
Added by: | dsabolic |
Date: | 2015-12-18 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 GOSU JS-MONKEY |
Resource: | http://hsin.hr/coci/archive/2015_2016/contest3_tasks.pdf |
hide comments
2019-06-06 06:26:57
A function in C called *srand()* |
|
2019-01-20 07:47:44
just follow the description Last edit: 2019-01-20 08:07:15 |
|
2019-01-19 18:47:23
don't forget to print new line character at the end. cost me one wrong answer. |
|
2019-01-08 22:47:03
print till B (upper limit). i printed till A and got WA :( Last edit: 2019-01-08 22:47:12 |
|
2019-01-07 17:33:08
Awesome question, "it contains at least A, and at most B words; every word contains *at least* one, and at most 15 letters; the used vocabulary is large enough, in other words, the essay contains *at least* B⁄2 different words" keep reading it until you get it. |
|
2019-01-06 13:17:56
Ac :) |
|
2018-10-05 01:48:16 :D
Easy problem. Just read the description carefully, follow the instructions and not worry you're missing some big riddle. It's really not tricky at all. |
|
2018-07-04 20:13:19
Nice problem :) |
|
2015-12-18 18:32:35
????What is the ques. and designed by whom? |