Mirroring Character

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

(-: sretcarahc gnirorrim a etirw

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

:)
:(
:-)
:-(

Sample output:

(:
):
(-:
)-:

Sample input:_

#include <stdio.h>

int main(void) {
  printf("Hello, World!\n");
  return 0;
}

Sample output:

<h.oidts> edulcni#

} (diov)niam tni
  ;("n\!dlroW ,olleH")ftnirp
  ;0 nruter
{

Sample input:_

def get_statistics(s)
  a=[0,0,0,0]
  an=/[a-zA-Z0-9]/
  ws=/[ \t\n]/
  s.each_byte{|x|
    s=x.chr
    a[an=~s ?2:ws=~s ?1: x<127&&x>32?3:0]+=1
  }
  a
end

Sample output:

(s)scitsitats_teg fed
  [0,0,0,0]=a
  /[9-0Z-Az-a]/=na
  /[n\t\ ]/=sw
  |x|}etyb_hcae.s
    rhc.x=s
    1=+[0:3?23<x&&721>x :1? s~=sw:2? s~=na]a
  {
  a
dne

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1eban570.21872007/06/07 22:25:340B / 18B / 37B
2flagitious570.19962007/06/07 23:12:490B / 18B / 37B
3niha570.22282007/06/07 23:13:360B / 18B / 37B
4shinh570.20382007/06/08 13:37:330B / 18B / 37B
5kurimura570.25792007/06/14 14:38:220B / 18B / 37B
6kodera570.22802007/06/14 17:02:180B / 18B / 37B
7leonid570.06502007/12/18 00:29:540B / 18B / 37B
8murky-satyr570.12602008/08/27 10:10:360B / 18B / 37B
9clock570.08382012/03/27 23:42:440B / 18B / 37B
10Histocrat570.03242013/11/28 02:15:110B / 18B / 37B
11bk1e570.03452014/02/24 17:15:400B / 18B / 37B
12mitchs570.03492015/04/28 04:42:270B / 18B / 37B
13jpl580.03862014/05/27 05:10:080B / ?B / ?B
14Mark Byers640.21682007/06/07 23:16:250B / 27B / 36B
15GooGoo+.690.19692007/06/12 23:41:050B / ?B / ?B
16usa720.19852007/06/07 23:08:500B / 19B / 50B
17greenpenguin790.24092007/06/11 23:06:010B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1%20480.05292016/11/30 12:19:400B / 16B / 30B
2tails480.03312016/11/30 12:39:440B / 16B / 30B
3teebee480.03422016/12/01 07:19:000B / 16B / 30B
4whio480.04682016/12/02 05:03:290B / 16B / 30B
5ySas490.12602007/06/08 00:22:200B / 16B / 31B
6flagitious490.12312007/06/08 00:28:270B / 16B / 31B
7Mithran490.14062007/06/08 12:39:130B / ?B / ?B
8shinh490.12262007/06/08 13:40:450B / 16B / 31B
9niha490.12612007/06/10 01:17:370B / 16B / 31B
10eban490.12412007/06/22 11:24:290B / 16B / 31B
11leonid490.01912008/12/02 10:00:260B / 16B / 31B
12dcutter490.06732009/06/18 23:47:110B / ?B / ?B
13mitchs490.03362015/02/12 05:28:180B / 16B / 31B
14mjcarman510.04782008/09/21 23:43:030B / ?B / ?B
15ninjalj530.00402011/02/22 00:08:060B / 19B / 32B
16ott550.12802007/07/30 22:27:190B / 15B / 37B
17Hem570.10172011/10/13 01:01:110B / 18B / 36B

Python _

RankUserSizeTimeDateStatistics
1twobit960.12432014/10/15 06:37:360B / ?B / ?B
2leonid960.08912014/10/16 03:18:210B / 47B / 38B
3recursive1000.07242010/12/17 03:43:360B / 52B / 43B
4hiro.suzuki1040.31712007/06/11 00:52:560B / 55B / 44B
5Mark Byers1040.35102007/08/11 19:01:390B / 43B / 50B
6hirose1040.05012007/10/23 10:25:500B / 55B / 44B
7hallvabo1040.11942010/11/27 12:25:470B / 45B / 48B
8malkovich1150.09642013/09/08 14:10:200B / 55B / 47B
9z1210.06222010/04/03 09:12:330B / ?B / ?B
10kt3k1250.33672007/06/08 01:23:060B / 52B / 58B
11sheerbird2060.44222007/06/08 19:18:080B / ?B / ?B
12croyal3480.01322010/02/26 07:27:590B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1clock950.12562012/03/28 00:01:2948B / 28B / 18B
2o-cn970.01842009/12/27 18:57:3518B / 46B / 33B
3primo980.10032012/01/09 07:02:4719B / 43B / 36B
4beton1140.50302007/06/08 04:46:580B / 43B / 68B
5Sean1800.35062007/10/24 07:26:100B / 94B / 83B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1200.11412012/12/01 04:00:290B / 67B / 50B
2murky-satyr1210.18262008/08/27 09:01:450B / 64B / 53B
3gemma1350.42642008/08/24 21:09:100B / 71B / 59B
4motemen1471.08442007/11/01 03:34:330B / 80B / 63B
5pla1860.32292007/08/18 10:46:290B / 124B / 56B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1560.44752008/11/10 09:06:290B / 84B / 66B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr1145.24422010/05/30 09:57:520B / 52B / 57B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1772.37442008/03/08 00:39:230B / 119B / 48B

JavaScript _

RankUserSizeTimeDateStatistics
10mg1010.04732014/03/01 01:14:550B / 48B / 53B
2murky-satyr1070.10722008/07/12 10:30:010B / 42B / 64B
3nn1070.10452008/08/16 15:14:230B / 47B / 59B
4nn(1.9)1070.00872010/12/16 21:58:370B / 49B / 55B
5kemco1370.08002007/12/21 09:47:390B / 59B / 76B
6kaki1460.00412010/01/13 17:09:320B / 68B / 75B

Lua _

RankUserSizeTimeDateStatistics
1twobit1140.03262014/03/05 09:35:540B / 56B / 51B
2clock1160.03372012/08/16 15:23:500B / 57B / 58B
3planque1390.12432007/07/16 10:08:350B / 69B / 62B

Tcl _

RankUserSizeTimeDateStatistics
1clock1230.04542012/08/27 20:38:200B / 54B / 51B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock1120.04152012/07/21 13:20:350B / 44B / 50B

Icon _

RankUserSizeTimeDateStatistics
1teebee1000.04132012/04/08 08:15:520B / 52B / 43B
2clock1000.07702012/04/08 10:46:000B / 44B / 46B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*910.02222014/03/16 23:35:160B / 50B / 39B
2clock920.04222012/11/14 18:20:020B / 51B / 36B

Smalltalk _

RankUserSizeTimeDateStatistics
1clock1340.04402013/01/07 20:23:030B / 76B / 53B
2murky-satyr1440.49792008/07/12 10:25:060B / 76B / 62B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz1160.36812007/06/10 01:30:540B / 49B / 64B
22731.23862007/06/08 02:51:280B / 146B / 122B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*1350.04222011/11/04 03:36:550B / 60B / 70B
2pooq1770.15852007/06/19 18:38:410B / 92B / 73B
3yt1870.14312007/06/08 14:18:170B / ?B / ?B

J _

RankUserSizeTimeDateStatistics
1I., S.590.12142010/11/03 20:57:580B / 13B / 45B

C _

RankUserSizeTimeDateStatistics
151b1280.04302009/09/22 14:40:130B / 60B / 68B
2hinoe1320.07452007/06/08 20:29:340B / 67B / 65B
3shinh1330.08802007/06/08 16:03:220B / 65B / 68B
41610.03602011/05/21 12:07:332B / ?B / ?B
5csanders1920.00092010/11/17 09:03:277B / 90B / 88B

D _

RankUserSizeTimeDateStatistics
151b1310.09182009/09/22 15:23:070B / 77B / 50B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1500.26962007/06/09 01:03:290B / 64B / 78B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1000.03402014/04/24 00:02:590B / 37B / 60B
2moriA1030.00342010/10/08 00:48:110B / 51B / 51B
3notogawa1030.00332010/10/08 01:24:190B / 53B / 49B
4icewing1220.00282011/01/11 06:36:130B / ?B / ?B
5ttsy1240.15472007/06/17 18:01:570B / ?B / ?B
6konn1420.12722007/06/07 23:08:570B / ?B / ?B
7tttaki1690.13882008/11/09 20:38:390B / ?B / ?B

Ada _

RankUserSizeTimeDateStatistics
1D1650.10842007/06/21 14:33:320B / 109B / 52B

Java _

RankUserSizeTimeDateStatistics
1teebee2050.21782012/01/06 10:30:390B / 104B / 94B
2hakusui2220.22332011/12/25 10:57:400B / 117B / 100B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1500.03912011/11/04 04:20:540B / 85B / 58B
2uru1850.02142009/05/01 16:49:010B / 108B / 66B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*(LF)3570.05162011/11/05 02:30:520B / 241B / 84B

REBOL _

RankUserSizeTimeDateStatistics
1clock1310.09602012/07/19 15:27:330B / 80B / 38B

AWK _

RankUserSizeTimeDateStatistics
1llhuii970.03602014/03/18 13:42:220B / 42B / 52B
2nn1220.08462008/06/25 00:23:280B / 49B / 70B
3usa1640.17042007/06/07 22:44:430B / 34B / 128B

sed _

RankUserSizeTimeDateStatistics
1mitchs570.03252016/06/12 07:12:530B / 7B / 46B
2tails570.03322016/11/30 12:53:060B / 6B / 43B
3%20590.03282016/11/30 12:55:510B / 11B / 44B
4clock600.04872012/01/26 22:36:150B / 7B / 47B
5emoken620.07122007/06/14 23:15:330B / 7B / 49B
6shinh670.08512007/06/08 14:30:460B / 16B / 46B
7lvogel750.04872012/01/25 17:17:252B / 9B / 61B

Bash _

RankUserSizeTimeDateStatistics
1tails480.00892016/11/30 12:42:490B / 17B / 30B
2%20480.01112016/11/30 12:45:590B / 17B / 30B
3teebee480.01042016/12/01 07:20:140B / 17B / 30B
4narb500.04032010/09/04 12:31:410B / ?B / ?B
5ninjalj510.05412011/02/21 23:39:100B / 12B / 37B
6waldner560.06022008/11/09 21:01:400B / 10B / 43B

Zsh _

RankUserSizeTimeDateStatistics
1%20480.05662016/11/30 12:46:040B / 17B / 30B
2teebee480.01832016/12/01 07:21:010B / 17B / 30B
3narb500.43402010/09/26 17:08:210B / ?B / ?B
4ninjalj510.07102011/02/21 23:45:030B / 12B / 37B

Fish _

RankUserSizeTimeDateStatistics
1%20480.06232016/11/30 12:46:070B / 17B / 30B
2teebee480.05512016/12/01 07:21:240B / 17B / 30B
3narb500.27902010/09/26 17:08:270B / ?B / ?B
4ninjalj510.15472011/02/21 23:45:190B / 12B / 37B

wake _

RankUserSizeTimeDateStatistics
1clock1100.05452012/01/26 22:45:370B / 7B / 87B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii970.03252014/03/16 16:11:090B / 42B / 52B

Postscript _

RankUserSizeTimeDateStatistics
1ySas1030.87802007/06/10 18:57:5638B / 29B / 34B
2ySas1050.87932007/06/09 21:22:3939B / 25B / 38B
3yshl1150.91642007/06/15 01:55:4445B / 25B / 42B
4yshl(not bin)2050.88612007/06/15 01:53:080B / 142B / 38B

GolfScript _

RankUserSizeTimeDateStatistics
1clock460.19512012/05/05 03:41:500B / 9B / 35B
2tails480.15762012/03/21 21:08:020B / 9B / 39B

gs2 _

RankUserSizeTimeDateStatistics
1whio260.26432016/12/02 05:25:117B / 3B / 14B

FlogScript _

RankUserSizeTimeDateStatistics
1clock340.09292012/06/29 02:38:290B / 8B / 26B
2milieu460.17882010/10/27 19:20:310B / ?B / ?B

Unlambda _

RankUserSizeTimeDateStatistics
1irori2240.03582007/06/09 13:04:250B / 81B / 140B

z80 _

RankUserSizeTimeDateStatistics
1kodera500.37352007/12/17 22:29:4325B / 5B / 13B
2ySas600.35082007/12/12 17:14:5933B / 10B / 12B

Vim _

RankUserSizeTimeDateStatistics
1udioica480.04942016/11/30 12:03:556B / ?B / ?B
2clock(!!)500.10412011/11/17 00:02:390B / 21B / 26B
3doug520.14082010/07/15 14:55:160B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1leonid450.12242012/03/30 13:25:460B / 15B / 28B
2murky-satyr470.24732009/12/29 19:20:560B / 10B / 36B
3eban550.11962008/01/05 04:09:570B / 13B / 40B

Groovy _

RankUserSizeTimeDateStatistics
1clock842.94942013/02/03 12:00:540B / 41B / 42B
2hakusui924.26162011/12/10 12:37:260B / ?B / ?B
3murky-satyr933.52592009/12/29 19:19:140B / 49B / 44B
4nn1033.54282009/12/29 16:49:360B / 55B / 44B

Language Ranking_

RankLangUserSizeScore
1gs2whio2610000
2FlogScriptclock347647
3gorubyleonid455777
4GolfScriptclock465652
5Vimudioica485416
6Perl%20485416
7Bashtails485416
8Zsh%20485416
9Fish%20485416
10z80kodera505200
11Rubyeban574561
12sedmitchs574561
13JI., S.594406
14Groovyclock843095
15REXX*yuko*912857
16PHPclock952736
17Pythontwobit962708
18xgawkllhuii972680
19AWKllhuii972680
20Iconteebee1002600
21Haskellhenkma1002600
22JavaScript0mg1012574
23PostscriptySas1032524
24wakeclock1102363
25SNOBOLclock1122321
26Clojuremurky-satyr1142280
27Luatwobit1142280
28Prologmskzzzz1162241
29Schemekaki1202166
30Tclclock1232113
31C51b1282031
32D51b1311984
33REBOLclock1311984
34Smalltalkclock1341940
35BASIC*yuko*1351925
36OCamlksk1501733
37Pascal*yuko*1501733
38Common LISPkozima1561666
39AdaD1651575
40Iomurky-satyr1771468
41Javateebee2051268
42Unlambdairori2241160
43COBOL*yuko*(LF)357728

Referer

Note that, they may contain spoilers.

return top