nth words
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Print the 1st word from the 1st line, the 2nd word from the 2nd line, etc., separated by spaces.
If the nth line has fewer than n words, take the (n modulus the number of words)-th word.
Ignore empty lines.
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
This is a golf server.
You can enjoy short coding here in several languages (111 languages).
The purpose of this server is not serious competition.
Joke problems are welcomed and you can speak freely about problems and can release spoilers.
For serious competition with ranking, enter Code Golf.
Sample output:
This can of welcomed ranking,
Sample input:_
But soft! What light through yonder window breaks?
It is the East, and Juliet is the sun!
Arise, fair sun, and kill the envious moon,
Who is already sick and pale with grief
That thou her maid art far more fair than she.
Be not her maid, since she is envious.
Her vestal livery is but sick and green,
And none but fools do wear it. Cast it off.
It is my lady; O, it is my love!
O that she knew she were!
She speaks, yet she says nothing. What of that?
Her eye discourses; I will answer it.
I am too bold; 'tis not to me she speaks.
Two of the fairest stars in all the heaven,
Having some business, do entreat her eyes
To twinkle in their spheres till they return.
What if her eyes were there, they in her head?
The brightness of her cheek would shame those stars
As daylight doth a lamp; her eyes in heaven
Would through the airy region stream so bright
That birds would sing and think it were not night.
See how she leans her cheek upon her hand!
O that I were a glove upon that hand,
That I might touch that cheek!
Sample output:
But is sun, sick art she and Cast love! knew speaks, will too stars Having return. they stars As airy That leans a cheek!
Sample input:_
In the midway of this our mortal life,
I found me in a gloomy wood, astray
Gone from the path direct: and e'en to tell
It were no easy task, how savage wild
That forest, how robust and rough its growth,
Which to remember only, my dismay
Renews, in bitterness not far from death.
Yet to discourse of what there good befell,
All else will I relate discover'd there.
How first I enter'd it I scarce can say,
Such sleepy dullness in that instant weigh'd
My senses down, when the true path I left,
But when a mountain's foot I reach'd, where clos'd
The valley, that had pierc'd my heart with dread,
I look'd aloft, and saw his shoulders broad
Already vested with that planet's beam,
Who leads all wanderers safe through every way.
Then was a little respite to the fear,
That in my heart's recesses deep had lain,
All of that night, so pitifully pass'd:
And as a man, with difficult short breath,
Forespent with toiling, 'scap'd from sea to shore,
Turns to the perilous wide waste, and stands
At gaze; e'en so my spirit, that yet fail'd
Struggling with terror, turn'd to view the straits,
That none hath pass'd and liv'd. My weary frame
After short pause recomforted, again
I journey'd on over that lonely steep,
The hinder foot still firmer. Scarce the ascent
Began, when, lo! a panther, nimble, light,
And cover'd with a speckled skin, appear'd,
Nor, when it saw me, vanish'd, rather strove
To check my onward going; that ofttimes
With purpose to retrace my steps I turn'd.
The hour was morning's prime, and on his way
Aloft the sun ascended with those stars,
That with him rose, when Love divine first mov'd
Those its fair works: so that with joyous hope
All things conspir'd to fill me, the gay skin
Of that swift animal, the matin dawn
And the sweet season. Soon that joy was chas'd,
And by new dread succeeded, when in view
A lion came, 'gainst me, as it appear'd,
With his head held aloft and hunger-mad,
That e'en the air was fear-struck. A she-wolf
Was at his heels, who in her leanness seem'd
Full of all wants, and many a land hath made
Disconsolate ere now. She with such fear
O'erwhelmed me, at the sight of her appall'd,
That of the height all hope I lost. As one,
Who with his gain elated, sees the time
When all unwares is gone, he inwardly
Mourns with heart-griping anguish; such was I,
Haunted by that fell beast, never at peace,
Who coming o'er against me, by degrees
Impell'd me where the sun in silence rests.
While to the lower space with backward step
I fell, my ken discern'd the form one of one,
Whose voice seem'd faint through long disuse of speech.
When him in that great desert I espied,
"Have mercy on me!" cried I out aloud,
"Spirit! or living man! what e'er thou be!"
He answer'd: "Now not man, man once I was,
And born of Lombard parents, Mantuana both
By country, when the power of Julius yet
Was scarcely firm. At Rome my life was past
Beneath the mild Augustus, in the time
Of fabled deities and false. A bard
Was I, and made Anchises' upright son
The subject of my song, who came from Troy,
When the flames prey'd on Ilium's haughty towers.
But thou, say wherefore to such perils past
Return'st thou? wherefore not this pleasant mount
Ascendest, cause and source of all delight?"
"And art thou then that Virgil, that well-spring,
From which such copious floods of eloquence
Have issued?" I with front abash'd replied.
"Glory and light of all the tuneful train!
May it avail me that I long with zeal
Have sought thy volume, and with love immense
Have conn'd it o'er. My master thou and guide!
Thou he from whom alone I have deriv'd
That style, which for its beauty into fame
Exalts me. See the beast, from whom I fled.
O save me from her, thou illustrious sage!"
"For every vein and pulse throughout my frame
She hath made tremble." He, soon as he saw
That I was weeping, answer'd, "Thou must needs
Another way pursue, if thou wouldst 'scape
From out that savage wilderness. This beast,
At whom thou criest, her way will suffer none
To pass, and no less hindrance makes than death:
So bad and so accursed in her kind,
That never sated is her ravenous will,
Still after food more craving than before.
To many an animal in wedlock vile
She fastens, and shall yet to many more,
Until that greyhound come, who shall destroy
Her with sharp pain. He will not life support
By earth nor its base metals, but by love,
Wisdom, and virtue, and his land shall be
The land 'twixt either Feltro. In his might
Shall safety to Italia's plains arise,
For whose fair realm, Camilla, virgin pure,
Nisus, Euryalus, and Turnus fell.
He with incessant chase through every town
Shall worry, until he to hell at length
Restore her, thence by envy first let loose.
I for thy profit pond'ring now devise,
That thou mayst follow me, and I thy guide
Will lead thee hence through an eternal space,
Where thou shalt hear despairing shrieks, and see
Spirits of old tormented, who invoke
A second death; and those next view, who dwell
Content in fire, for that they hope to come,
Whene'er the time may be, among the blest,
Into whose regions if thou then desire
T' ascend, a spirit worthier than I
Must lead thee, in whose charge, when I depart,
Thou shalt be left: for that Almighty King,
Who reigns above, a rebel to his law,
Adjudges me, and therefore hath decreed,
That to his city none through me should come.
He in all parts hath sway; there rules, there holds
His citadel and throne. O happy those,
Whom there he chooses!" I to him in few:
"Bard! by that God, whom thou didst not adore,
I do beseech thee (that this ill and worse
I may escape) to lead me, where thou saidst,
That I Saint Peter's gate may view, and those
Who as thou tell'st, are in such dismal plight."
Onward he mov'd, I close his steps pursu'd.
Sample output:
In found the easy and dismay death. befell, else How in down, mountain's pierc'd shoulders that Who was my pitifully with sea and spirit, Struggling weary short steep, firmer. when, with strove going; purpose his Aloft That its conspir'd the Soon by came, his was Was a such O'erwhelmed one, his unwares anguish; never by rests. While one through that cried e'er was, And By firm. Augustus, false. upright came haughty past wherefore source thou of replied. the long immense guide! he which See her, throughout soon needs thou This At pass, accursed sated more in She destroy support By his In Shall virgin fell. He until by profit thou eternal see who next hope may thou than lead King, Who me, through parts happy few: "Bard! do escape) Peter's are I
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | Histocrat | 38 | 0.0340 | 2019/12/14 06:51:38 | 0B / 11B / 24B |
2 | rotary-o | 38 | 0.0351 | 2019/12/15 00:34:43 | 0B / 11B / 24B |
3 | mitchs | 38 | 0.0370 | 2019/12/15 05:28:32 | 0B / 11B / 24B |
4 | clock | 41 | 0.0253 | 2019/12/14 00:20:48 | 0B / 11B / 27B |
5 | znz | 61 | 0.0341 | 2019/12/12 20:14:42 | 0B / 26B / 34B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Histocrat | 40 | 0.1461 | 2019/12/14 07:02:25 | 0B / 11B / 26B |
2 | rotary-o | 40 | 0.2067 | 2019/12/15 00:34:29 | 0B / 11B / 26B |
3 | mitchs | 40 | 0.1592 | 2019/12/15 05:28:58 | 0B / 11B / 26B |
4 | clock | 41 | 0.2402 | 2019/12/14 00:21:27 | 0B / 11B / 27B |
5 | letranger | 46 | 0.1454 | 2019/12/12 18:53:14 | 0B / 13B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 33 | 0.0627 | 2019/12/12 12:08:12 | 0B / 9B / 22B |
2 | mitchs | 33 | 0.0330 | 2019/12/12 13:18:57 | 0B / 9B / 22B |
3 | llhuii | 33 | 0.0376 | 2019/12/14 00:20:29 | 0B / 9B / 22B |
4 | test1 | 33 | 0.0329 | 2019/12/14 03:39:13 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 61 | 0.0784 | 2019/12/12 07:23:25 | 0B / 36B / 17B |
2 | clock | 61 | 0.0736 | 2019/12/12 21:36:21 | 0B / 36B / 17B |
3 | Hendrik | 61 | 0.0768 | 2019/12/13 03:41:25 | 0B / 36B / 17B |
4 | llhuii | 61 | 0.1959 | 2019/12/14 18:02:42 | 0B / 36B / 17B |
5 | hallvabo | 61 | 0.0727 | 2019/12/17 19:18:29 | 0B / 36B / 18B |
6 | _ | 61 | 0.0765 | 2019/12/19 14:03:16 | 0B / 36B / 17B |
7 | xnor | 62 | 0.0787 | 2019/12/19 14:01:05 | 0B / 36B / 19B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 61 | 0.1269 | 2019/12/12 22:01:40 | 0B / 33B / 25B |
2 | clock | 61 | 0.1231 | 2019/12/12 22:10:05 | 0B / 30B / 26B |
3 | llhuii | 61 | 0.1944 | 2019/12/14 18:05:31 | 0B / 33B / 25B |
4 | mypetlion | 64 | 0.1218 | 2019/12/14 08:07:50 | 0B / 33B / 27B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | 0mg | 66 | 0.0446 | 2019/12/17 21:26:31 | 0B / 36B / 28B |
2 | ZED.CWT | 67 | 0.0494 | 2019/12/17 12:20:22 | 0B / 36B / 29B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 102 | 0.0358 | 2019/12/16 23:53:45 | 0B / 47B / 48B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | llhuii | 80 | 0.0320 | 2019/12/18 19:31:29 | 0B / 36B / 43B |
2 | chocobi | 99 | 0.0316 | 2019/12/18 19:54:19 | 0B / 48B / 49B |
3 | tails | 108 | 0.0415 | 2019/12/17 09:28:55 | 0B / 56B / 51B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 23 | 0.0314 | 2019/12/12 15:49:40 | 0B / 14B / 9B |
2 | mitchs | 23 | 0.0331 | 2019/12/12 21:33:17 | 0B / 14B / 9B |
3 | clock | 23 | 0.0313 | 2019/12/12 23:16:56 | 0B / 13B / 10B |
4 | McBusLuck | 23 | 0.0313 | 2019/12/13 21:31:23 | 0B / 14B / 9B |
5 | llhuii | 23 | 0.0315 | 2019/12/14 00:20:36 | 0B / 14B / 9B |
6 | Fleur | 24 | 0.0417 | 2021/11/09 16:13:43 | 0B / 11B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 54 | 0.1224 | 2019/12/12 23:11:20 | 0B / 14B / 31B |
2 | mitchs | 54 | 0.1228 | 2019/12/13 01:04:24 | 0B / 14B / 31B |
3 | tails | 55 | 0.1135 | 2019/12/13 09:37:59 | 0B / 14B / 32B |
4 | 0mg | 58 | 0.1073 | 2019/12/13 20:42:26 | 0B / 14B / 33B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 65 | 0.0494 | 2019/12/15 00:01:34 | 0B / 14B / 46B |
2 | eban | 80 | 0.0366 | 2019/12/15 00:20:08 | 0B / 34B / 42B |
3 | eban | 61 | 0.0452 | 2019/12/18 20:34:59 | 0B / 19B / 39B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | eban | 57 | 0.0692 | 2019/12/17 13:45:34 | 0B / 17B / 35B |
2 | McBusLuck | 29 | 0.0053 | 2019/12/19 02:36:14 | 0B / 17B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | llhuii | 43 | 0.2172 | 2019/12/15 23:34:09 | 0B / 16B / 22B |
2 | tails | 43 | 0.1913 | 2019/12/16 18:18:39 | 0B / 16B / 21B |
3 | McBusLuck | 51 | 0.1889 | 2019/12/13 22:22:28 | 0B / 17B / 28B |
4 | McBusLuck | 48 | 0.4786 | 2020/11/14 20:55:35 | 0B / 18B / 26B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 69 | 0.0582 | 2019/12/16 23:39:35 | 0B / 10B / 52B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 23 | 0.0505 | 2019/12/12 21:41:08 | 0B / 14B / 9B |
2 | McBusLuck | 23 | 0.0582 | 2019/12/13 21:35:35 | 0B / 14B / 9B |
3 | llhuii | 23 | 0.0344 | 2019/12/14 00:20:40 | 0B / 14B / 9B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 20 | 0.0891 | 2019/12/12 00:06:55 | 0B / 4B / 14B |
2 | clock | 20 | 0.0933 | 2019/12/12 00:15:30 | 0B / 3B / 15B |
3 | tails | 20 | 0.0894 | 2019/12/12 10:35:56 | 0B / 4B / 14B |
4 | Erik the Outgolfer | 20 | 0.1072 | 2020/11/14 04:59:27 | 0B / 3B / 15B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 10 | 0.2163 | 2019/12/12 07:30:01 | 4B / 3B / 2B |
2 | tails | 10 | 0.1883 | 2019/12/12 09:38:21 | 3B / 3B / 3B |
3 | whio | 10 | 0.1913 | 2019/12/16 11:46:24 | 3B / 4B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 22 | 0.0433 | 2019/12/13 07:50:13 | 0B / 14B / 8B |
2 | Hendrik | 22 | 0.0428 | 2019/12/15 22:07:59 | 0B / 14B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 77 | 7.8413 | 2019/12/16 22:41:05 | 0B / 41B / 30B |
2 | clock | 81 | 6.4606 | 2019/12/16 07:04:58 | 0B / 47B / 28B |
3 | Hendrik | 83 | 5.6698 | 2019/12/16 05:40:29 | 0B / 42B / 34B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | mitchs | 10 | 10000 |
2 | Jelly | Erik the Outgolfer | 11 | 9090 |
3 | GolfScript | mitchs | 20 | 5000 |
4 | Burlesque | clock | 22 | 4545 |
5 | AWK | eban | 23 | 4347 |
6 | xgawk | mitchs | 23 | 4347 |
7 | Bash | McBusLuck | 29 | 3448 |
8 | Zsh | McBusLuck | 29 | 3448 |
9 | Fish | McBusLuck | 29 | 3448 |
10 | Perl | tails | 33 | 3030 |
11 | Ruby | Histocrat | 38 | 2631 |
12 | Ruby2 | Histocrat | 40 | 2500 |
13 | Bash (builtins) | llhuii | 43 | 2325 |
14 | sed | clock | 54 | 1851 |
15 | Python | mitchs | 61 | 1639 |
16 | Python3 | mitchs | 61 | 1639 |
17 | jq | eban | 61 | 1639 |
18 | JavaScript | 0mg | 66 | 1515 |
19 | wake | clock | 69 | 1449 |
20 | Haskell | henkma | 74 | 1351 |
21 | Scala | rotary-o | 77 | 1298 |
22 | C | llhuii | 80 | 1250 |
23 | Lua | clock | 102 | 980 |
24 | Brainfuck | mitchs | 155 | 645 |
return to the top page