interleave first every third

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

interleave the first char of the input every third character

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

abcdefg

Sample output:

abcadeafga

Sample input:_

Hello, World!

Sample output:

HelHloH, HWoHrlHd!H

Sample input:_

The Great Pyramid of Giza is the largest Egyptian pyramid. It served as the tomb of pharaoh Khufu, who ruled during the Fourth Dynasty of the Old Kingdom

Sample output:

TheT GTreTatT PTyrTamTidT oTf TGiTzaT iTs TthTe TlaTrgTesTt TEgTypTtiTanT pTyrTamTidT. TItT sTerTveTd TasT tTheT tTomTb TofT pThaTraTohT KThuTfuT, TwhTo TruTleTd TduTriTngT tTheT FTouTrtTh TDyTnaTstTy TofT tTheT OTldT KTinTgdTomT

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o330.05022024/08/10 00:59:160B / 18B / 14B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o290.16612024/08/10 00:52:530B / 15B / 13B
2Andriamanitra370.17332024/08/07 14:01:370B / 11B / 25B
3Sisyphus (rotary-o)280.16872024/08/21 11:17:320B / 16B / 10B

Perl _

RankUserSizeTimeDateStatistics
1tails240.04632024/08/08 16:00:560B / 10B / 14B
2Sisyphus260.04532024/08/08 13:07:260B / 10B / 15B
3fuzzylojik260.04422024/08/08 20:07:400B / 10B / 15B

Python3 _

RankUserSizeTimeDateStatistics
1xnor500.14842024/08/07 16:48:450B / 29B / 19B
2Dingledooper500.13912024/08/09 10:19:440B / 29B / 19B
3lynn and orthoplex at evoke 2024500.24992024/08/18 21:03:260B / 28B / 19B
4xnor (alt)510.24642024/08/19 16:43:190B / 28B / 19B
5xnor (another alt)510.13542024/08/19 16:46:130B / 27B / 23B
6fuzzylojik510.14372024/08/19 21:05:320B / 27B / 24B
7Steffan530.13612024/08/11 05:36:480B / 29B / 19B
8Sisyphus540.25102024/08/08 22:17:010B / 32B / 20B

JavaScript _

RankUserSizeTimeDateStatistics
1Sisyphus500.06342024/08/07 12:30:510B / 29B / 21B
2fuzzylojik500.06162024/08/20 05:19:490B / 29B / 19B
3_500.05762024/08/20 16:14:300B / 23B / 27B
4ZED.CWT520.05672024/08/07 11:57:280B / 26B / 26B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur441.36212024/08/07 16:06:400B / 15B / 28B

Atlas _

RankUserSizeTimeDateStatistics
1tails90.47812024/08/07 14:52:000B / 1B / 8B

C _

RankUserSizeTimeDateStatistics
1tails480.03562024/08/21 10:38:060B / 25B / 23B
2nu500.03572024/08/21 02:18:280B / 28B / 22B
3chocobi710.04182024/08/07 19:56:140B / 40B / 31B

Haskell _

RankUserSizeTimeDateStatistics
1xnor450.04742024/08/07 14:56:090B / 27B / 14B
2orthoplex450.05702024/08/08 08:30:590B / 27B / 14B
3lynn450.05252024/08/18 20:07:110B / 27B / 14B
4Natte450.04682024/08/22 00:12:510B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1180.16042024/08/10 11:39:450B / 71B / 43B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1150.14582024/08/10 11:04:240B / 74B / 35B

AWK _

RankUserSizeTimeDateStatistics
1Fleur330.04202024/08/09 16:34:230B / 10B / 23B
2Fleur ()380.04172024/08/09 16:30:240B / 15B / 23B

sed _

RankUserSizeTimeDateStatistics
1_310.04152024/08/17 21:38:270B / 8B / 18B
2tails350.04182024/08/07 15:46:210B / 11B / 22B
3McBusLuck350.04132024/08/17 20:53:530B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1Fleur320.02252024/08/09 16:46:230B / 11B / 19B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails430.05832024/08/07 17:05:280B / 25B / 10B

wake _

RankUserSizeTimeDateStatistics
1tails250.05872024/08/07 17:38:500B / 3B / 21B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs150.04132024/08/10 18:32:590B / 0B / 15B
2Sisyphus180.04162024/08/09 14:11:290B / 0B / 18B
3tails180.04132024/08/09 19:11:470B / 0B / 18B
4orthoplex180.04212024/08/10 19:34:570B / 0B / 18B
5fuzzylojik180.04142024/08/20 03:31:110B / 0B / 18B

Whitespace _

RankUserSizeTimeDateStatistics
1%20630.15312024/08/09 04:12:250B / 0B / 0B
2rotary-o630.05572024/08/10 01:12:490B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1tails80.06242024/08/07 14:55:200B / 2B / 6B

gs2 _

RankUserSizeTimeDateStatistics
1tails60.20532024/08/07 14:15:404B / 1B / 1B
2whio60.21222024/08/07 23:47:584B / 1B / 1B

Nibbles _

RankUserSizeTimeDateStatistics
1tails60.04902024/08/07 14:32:133B / 2B / 1B
2whio60.05472024/08/14 03:59:073B / 3B / 0B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik150.04742024/08/07 15:07:150B / 10B / 5B

FerNANDo _

RankUserSizeTimeDateStatistics
1tails790.14532024/08/07 17:43:190B / 40B / 0B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails1120.04712024/08/07 15:06:380B / 64B / 48B

Universal Lambda _

RankUserSizeTimeDateStatistics
1tails130.04042024/08/19 09:31:398B / 4B / 1B
2tails120.04312024/08/21 11:19:4410B / 1B / 1B

z80 _

RankUserSizeTimeDateStatistics
1%20140.14192024/08/09 06:23:2812B / 2B / 0B
2tails140.13692024/08/09 10:48:0710B / 4B / 0B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o557.41792024/08/08 00:38:080B / 31B / 22B

Language Ranking_

RankLangUserSizeScore
1gs2tails610000
2Nibblestails610000
3GolfScripttails87500
4Atlastails96666
5Universal Lambdatails125000
6z80%20144285
7BurlesqueHendrik154000
8Brainfuckmitchs154000
9Perltails242500
10waketails252400
11Ruby2Sisyphus (rotary-o)282142
12sed311935
13BashFleur321875
14AWKFleur331818
15Rubyrotary-o331818
16Bash (builtins)tails431395
17Perl6Fleur441363
18Haskellxnor451333
19Ctails481250
20JavaScriptSisyphus501200
21Python3xnor501200
22Scalarotary-o551090
23Whitespace%2063952
24FerNANDotails79759
25Lazy-Ktails112535
26C#rotary-o115521
27Javarotary-o118508

return to the top page