Lower ASCII value

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

Take the input text 2 characters at a time, and keep the one with the lower ASCII value.

Options

exec is denied

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

Sample input:_

It is a period of civil war. Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire.
During the battle, Rebel spies managed to steal secret plans to the Empire's ultimate weapon, the DEATH STAR, an armored space station with enough power to destroy an entire planet.
Pursued by the Empire's sinister agents, Princess Leia races home aboard her starship, custodian of the stolen plans that can save her people and restore freedom to the galaxy....

Sample output:

I   eid  ci a. be achi, rii fm  dd ae ae n ei is cor ais e i Gacc mi.
Dig e al, be ie aad  sa ece an  h Eie' lia ean h DA SA a mod ac ain i eog oe  dso a ni lae.
Pre b e mi' iise en, ice La ae m aad e arh, soda  h sle an a a ae e el a eso fed o e aa...

Sample input:_

It is a dark time for the Rebellion. Although the Death Star has been destroyed, Imperial troops have driven the Rebel forces from their hidden base and pursued them across the galaxy.
Evading the dreaded Imperial Starfleet, a group of freedom fighters led by Luke Skywalker have established a new secret base on the remote ice world of Hoth.
The evil lord Darth Vader, obsessed with finding young Skywalker, has dispatched thousands of remote probes into the far reaches of space....

Sample output:

I   ak i f h Rbli. lhg h Da Sa a e dsoe, mea rop a die e be oc fm ei dd ae d rsd e aos e aa.
Eai h dad Ieia afee  go f edm ghe e b k Swae ae saihd  e ce ae  h eme c od  Hh.
T ei o Dr Vd, bee ih idg og kake a dpacd hsad  eme ob io e a ace  pa...

Sample input:_

Luke Skywalker has returned to his home planet of Tatooine in an attempt to rescue his friend Han Solo from the clutches of the vile gangster Jabba the Hutt.
Little does Luke know that the GALACTIC EMPIRE has secretly begun construction on a new armored space station even more powerful than the first dreaded Death Star.
When completed, this ultimate weapon will spell certain doom for the small band of rebels struggling to restore freedom to the galaxy...

Sample output:

Le kake a ere o i m lae  Toie  a tep  ece i ie H Sl o h ctce  h ie age Jb h Ht.
Lte e Le n ha e AAI EIE a cel bg cnrcin   e ame pa sai ee o oefl a h fr dad Da Sa.
We mled hi lia ean i pe cra dm o e al a f be srgig  eso fed o e aa..

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock340.03752012/10/25 12:32:500B / 17B / 15B

Perl _

RankUserSizeTimeDateStatistics
1teebee340.03402012/10/22 16:18:060B / 14B / 18B
2tails340.03512012/10/22 21:57:430B / 14B / 18B
3clock340.03422012/10/23 05:25:410B / 14B / 18B
4Terje K340.10602012/10/26 19:48:300B / ?B / ?B
5tanon340.10782012/10/28 16:03:140B / ?B / ?B
6ais523340.03792012/10/29 18:42:420B / ?B / ?B
7MG340.03622012/10/30 09:58:430B / 14B / 18B
8ninjalj340.03472012/10/31 07:44:510B / 14B / 18B
9tails330.06342019/12/27 12:20:060B / 12B / 19B
10jonathan camacho630.03442014/09/04 14:10:250B / 29B / 34B

Python _

RankUserSizeTimeDateStatistics
1twobit580.07432012/11/02 11:31:500B / 32B / 25B
2Hendrik610.05612012/11/02 08:16:080B / 35B / 25B
3hallvabo650.06022012/10/23 21:14:430B / 37B / 27B
4clock650.05362012/10/25 17:34:450B / 37B / 27B
5clock(twobit)560.08362012/11/05 12:49:280B / 32B / 23B

Arc _

RankUserSizeTimeDateStatistics
1clock542.75662012/10/25 13:01:430B / 32B / 20B

Io _

RankUserSizeTimeDateStatistics
1pooq990.30022012/11/04 18:02:430B / 75B / 19B

JavaScript _

RankUserSizeTimeDateStatistics
10mg620.04342012/10/28 14:14:030B / 38B / 24B
2Hendrik700.08082012/10/31 17:39:360B / 43B / 27B

Lua _

RankUserSizeTimeDateStatistics
1clock820.03602012/10/25 13:11:150B / 46B / 30B
2twobit820.03952012/11/01 09:21:030B / 46B / 30B

J _

RankUserSizeTimeDateStatistics
1I., S.290.07882012/10/22 21:29:260B / 11B / 18B

K _

RankUserSizeTimeDateStatistics
1twobit290.03472012/11/02 11:44:250B / 8B / 20B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer60.46422021/04/18 06:46:424B / 1B / 1B

C _

RankUserSizeTimeDateStatistics
1ush700.03792012/10/30 10:29:010B / 40B / 30B
2nu700.02462012/10/30 22:51:390B / 40B / 30B

Haskell _

RankUserSizeTimeDateStatistics
1henkma570.04162012/10/25 19:16:540B / 36B / 15B
2Hendrik570.03932012/11/05 05:06:450B / 36B / 15B

C# _

RankUserSizeTimeDateStatistics
1Hendrik1560.16792012/10/28 05:00:550B / 101B / 50B

REBOL _

RankUserSizeTimeDateStatistics
1clock760.09842012/10/25 16:05:060B / 52B / 16B

AWK _

RankUserSizeTimeDateStatistics
1llhuii510.03182014/09/04 22:47:200B / ?B / ?B
2nn760.04522012/11/18 22:50:330B / 34B / 41B

sed _

RankUserSizeTimeDateStatistics
1tails710.29512012/10/27 13:54:540B / 42B / 27B

R _

RankUserSizeTimeDateStatistics
1clock1040.57702012/10/26 20:17:060B / 60B / 40B
2pooq1130.56212012/10/25 14:26:320B / 66B / 42B
3clock(pooq)820.55472012/11/05 12:34:040B / 54B / 26B
4pooq(clock)840.67042012/11/05 12:18:360B / 54B / 28B

GolfScript _

RankUserSizeTimeDateStatistics
1tails140.11012012/10/22 22:21:230B / 4B / 10B
2clock140.09242012/10/23 03:30:250B / 4B / 10B
3macik140.07752012/10/25 21:45:260B / ?B / ?B
4twobit140.09222012/10/30 04:19:430B / 4B / 10B
5nooodl150.08692012/10/23 05:35:370B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs50.33872015/01/23 10:04:492B / 2B / 1B

Nibbles _

RankUserSizeTimeDateStatistics
1tails40.04912022/02/24 10:04:153B / 0B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1clock120.24332012/10/29 11:43:370B / 3B / 9B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman150.04122012/10/23 03:43:520B / ?B / ?B
2teebee150.04542012/10/23 04:55:390B / 8B / 7B
3clock150.05042012/10/23 05:31:470B / 6B / 9B
4Hendrik150.05272012/10/23 06:06:200B / 6B / 9B

z80 _

RankUserSizeTimeDateStatistics
1fsystem270.39532012/11/01 22:55:1715B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1clock360.28402012/10/29 11:48:312B / 17B / 16B

Groovy _

RankUserSizeTimeDateStatistics
1clock483.23732012/10/29 11:18:040B / 28B / 20B

Language Ranking_

RankLangUserSizeScore
1Nibblestails410000
2gs2mitchs58000
3JellyErik the Outgolfer66666
4FlogScriptclock123333
5GolfScripttails142857
6Burlesquemroman152666
7z80fsystem271481
8JI., S.291379
9Ktwobit291379
10Perltails331212
11Rubyclock341176
12Vimclock361111
13Groovyclock48833
14AWKllhuii51784
15Arcclock54740
16Pythonclock(twobit)56714
17Haskellhenkma57701
18JavaScript0mg62645
19Cush70571
20sedtails71563
21REBOLclock76526
22Luaclock82487
23Rclock(pooq)82487
24Iopooq99404
25C#Hendrik156256

return to the top page