PROG0440 - Valentine
Below is a valentine poem written in 1846 by Edgar Allen Poe. The name of his sweetheart is hidden in the poem. Can you find that name? Click here for the answer.
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.
Input
The first line of the input contains an integer $t \in \mathbb{N}_0$ indicating the number of lines in the poem. Then $t$ lines follow with the lines of the poem.
Output
Example
Input:
21
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.
Output:
Francessergeantosgood
Hieronder staat een valentijnsgedicht dat in 1846 geschreven werd door Edgar Allen Poe. De naam van zijn liefje zit in het gedicht verborgen. Kan je die naam vinden? Klik hier voor het antwoord.
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.
Invoer
De eerste regel van de invoer bevat een getal $t \in \mathbb{N}_0$ dat aangeeft uit hoeveel versregels het gedicht bestaat. Daarna volgen $t$ regels met de versregels van het gedicht.
Uitvoer
Voorbeeld
Invoer:
21
For her these lines are penned, whose luminous eyes, Brightly expressive as the starts of Leda, Shall find her own sweet name that, nestling, lies Upon the page, enwrapped from every reader. Search narrowly these words, which hold a treasure Divine - a talisman, an amulet That must be worn at heart. Search well the measure - The words - the letters themselves. Do not forget The smallest point, or you may lose your labor. And yet there is in this no gordian knot Which one might not undo without a sabre If one could merely comprehend the plot. Upon the open page on which are peering Such sweet eyes now, there lies, I say, perdus, A musical name oft uttered in the hearing Of poets, by poets - for the name is a poet's too. In common sequence set, the letters lying, Compose a sound delighting all to hear - Ah, this you'd have no trouble in descrying Were you not something, of a dunce, my dear - And now I leave these riddles to their Seer.
Uitvoer:
Francessergeantosgood
Added by: | Peter Dawyndt |
Date: | 2013-10-01 |
Time limit: | 10s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | PY_NBC |
Resource: | None |