Woburn Challenge 2018-19 Round 1 - Senior Division
Alice has a
As such, Alice wants to write a program to generate a sequence of a
…z
) (not necessarily a real
English word). The essay will have no punctuation or formatting, as
those seem unnecessary to Alice. In an attempt to disguise the essay's
generated nature, Alice will insist that all
Help Alice generate any essay which meets the above requirements.
Subtasks
In test cases worth 5/20 of the points,
In test cases worth another 5/20 of the points,
Input Specification
The first and only line of input consists of a single integer,
Output Specification
Output a single line containing Alice's essay: a sequence of
Sample Input
2
Sample Output
i a
Sample Explanation
The sum of the lengths of the two words i a
is x y
) would also be accepted. However, the essay i i
would not be accepted due to its words not being distinct, and the
essay i am
would not be accepted due to the total length of its
words
Comments
If two words have the same letters, but a different order, do they count as separate words? For example,
ba
andab
?yes