Diamond Matrix

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

Print a diamond matrix of N

Options

exec is denied

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

Sample input:_

9

Sample output:

        1
       121
      12321
     1234321
    123454321
   12345654321
  1234567654321
 123456787654321
12345678987654321
 123456787654321
  1234567654321
   12345654321
    123454321
     1234321
      12321
       121
        1

Sample input:_

4

Sample output:

   1
  121
 12321
1234321
 12321
  121
   1

Sample input:_

7

Sample output:

      1
     121
    12321
   1234321
  123454321
 12345654321
1234567654321
 12345654321
  123454321
   1234321
    12321
     121
      1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid600.03362013/03/23 04:16:040B / 28B / 28B

Perl _

RankUserSizeTimeDateStatistics
1tails510.03262013/03/28 00:03:060B / 18B / 33B
2whio510.03842013/04/02 04:53:450B / 18B / 33B
3brx530.03412013/04/02 22:23:460B / 16B / 33B
4BioFALSE1270.03552013/03/28 22:40:010B / 38B / 87B

Python _

RankUserSizeTimeDateStatistics
1leonid700.08562013/03/23 04:11:550B / 37B / 30B
2Volatility980.14132013/03/23 15:19:271B / 38B / 57B
3xnor690.10842015/06/23 08:57:090B / 34B / 33B
4cornchz730.12752013/04/09 13:20:260B / 40B / 28B

Io _

RankUserSizeTimeDateStatistics
1pooq1040.24452013/03/24 18:08:093B / 57B / 39B

JavaScript _

RankUserSizeTimeDateStatistics
1fiat860.06402013/04/01 07:44:191B / ?B / ?B
2Shmiddty870.05372013/03/26 04:35:000B / 44B / 42B
3copy870.06332013/03/26 04:40:250B / ?B / ?B
4Jan Dvorak1000.05902013/03/23 08:09:300B / 48B / 51B
5Shmiddty840.05682013/04/10 06:21:410B / 41B / 42B
6katze980.04312014/05/15 01:07:140B / ?B / ?B

J _

RankUserSizeTimeDateStatistics
1I., S.540.11432013/03/23 20:42:260B / 24B / 29B

C _

RankUserSizeTimeDateStatistics
1nu(rand)720.00062013/03/30 01:47:560B / 38B / 34B
2tails720.00072013/03/30 12:08:090B / 35B / 37B
3nu800.03722013/03/29 03:04:500B / 44B / 36B
4Jay Dough1190.03922013/04/05 04:54:300B / ?B / ?B
5samuimo1260.03182013/04/04 21:06:390B / 62B / 64B
6orangetide1300.03202013/04/04 08:40:150B / ?B / ?B
7brown1550.03632013/03/30 03:16:410B / 76B / 78B

Haskell _

RankUserSizeTimeDateStatistics
1henkma900.03332013/04/02 23:22:540B / 34B / 50B

sed _

RankUserSizeTimeDateStatistics
1tails750.04022013/03/24 22:15:140B / 34B / 22B
2clock910.03342013/03/24 21:45:590B / 34B / 48B

R _

RankUserSizeTimeDateStatistics
1pooq920.47662013/03/25 17:21:210B / 44B / 44B

GolfScript _

RankUserSizeTimeDateStatistics
1tails290.06382013/03/27 23:45:080B / 5B / 23B

Language Ranking_

RankLangUserSizeScore
1GolfScripttails2910000
2Perltails515686
3JI., S.545370
4Rubyleonid604833
5Pythonxnor694202
6Cnu(rand)724027
7sedtails753866
8JavaScriptShmiddty843452
9Haskellhenkma903222
10Rpooq923152
11Iopooq1042788

return top