Symmetric 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

Make symmetric matrices.

-- tails

Options

exec is denied

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

Sample input:_

1 2 3 4
5 6 7
8 9
0

Sample output:

1 2 3 4
2 5 6 7
3 6 8 9
4 7 9 0

Sample input:_

11 12 13 14 15 16 17 18
22 23 24 25 26 27 28
33 34 35 36 37 38
44 45 46 47 48
55 56 57 58
66 67 68
77 78
88

Sample output:

11 12 13 14 15 16 17 18
12 22 23 24 25 26 27 28
13 23 33 34 35 36 37 38
14 24 34 44 45 46 47 48
15 25 35 45 55 56 57 58
16 26 36 46 56 66 67 68
17 27 37 47 57 67 77 78
18 28 38 48 58 68 78 88

Sample input:_

3 1 4 1 5 9 2 6 5 3 5 8
9 7 9 3 2 3 8 4 6 2 6
4 3 3 8 3 2 7 9 5 0
2 8 8 4 1 9 7 1 6
9 3 9 9 3 7 5 1
0 5 8 2 0 9 7
4 9 4 4 5 9
2 3 0 7 8
1 6 4 0
6 2 8
6 2
0

Sample output:

3 1 4 1 5 9 2 6 5 3 5 8
1 9 7 9 3 2 3 8 4 6 2 6
4 7 4 3 3 8 3 2 7 9 5 0
1 9 3 2 8 8 4 1 9 7 1 6
5 3 3 8 9 3 9 9 3 7 5 1
9 2 8 8 3 0 5 8 2 0 9 7
2 3 3 4 9 5 4 9 4 4 5 9
6 8 2 1 9 8 9 2 3 0 7 8
5 4 7 9 3 2 4 3 1 6 4 0
3 6 9 7 7 0 4 0 6 6 2 8
5 2 5 1 5 9 5 7 4 2 6 2
8 6 0 6 1 7 9 8 0 8 2 0

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid470.05762012/04/18 05:51:070B / 14B / 29B
2clock540.05702012/04/18 11:24:470B / 18B / 30B

Perl _

RankUserSizeTimeDateStatistics
1teebee440.06422012/04/22 03:59:330B / 13B / 28B
2shlomif470.05152012/04/22 01:57:160B / 15B / 30B
3tails470.14142012/04/22 20:03:010B / 17B / 28B
4tybalt89510.07182012/04/22 00:07:270B / ?B / ?B
5macik540.09372012/04/29 03:53:160B / ?B / ?B
6nfouille1350.06412012/04/19 17:03:541B / ?B / ?B
7smkt (embed)6000.06722012/04/19 12:17:101B / 338B / 59B
8a660.04762012/06/22 16:50:111B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid790.11352012/04/18 05:29:240B / 44B / 29B
2twobit790.16972012/04/18 05:31:430B / 45B / 28B

PHP _

RankUserSizeTimeDateStatistics
1primo800.20882012/04/18 08:15:384B / 30B / 46B
2clock880.12412012/05/01 08:00:411B / 39B / 47B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1130.09752012/04/18 03:29:080B / 66B / 41B
2kaki1110.07852013/03/25 05:46:530B / 63B / 44B

JavaScript _

RankUserSizeTimeDateStatistics
1nn790.06092012/04/30 11:32:180B / 40B / 37B
2clock800.12642012/04/29 17:25:320B / 39B / 39B
3clock(nn)780.05602012/05/01 16:21:100B / 40B / 36B

J _

RankUserSizeTimeDateStatistics
1pooq280.12482012/04/17 22:07:130B / 7B / 21B
2I., S.310.51692012/04/18 06:30:080B / 9B / 22B

K _

RankUserSizeTimeDateStatistics
1twobit400.04592012/04/21 08:06:050B / 11B / 29B

C _

RankUserSizeTimeDateStatistics
1ush1090.04462012/05/01 11:48:390B / 55B / 54B
2eha1290.03242012/04/30 23:26:560B / 60B / 69B
3G.w.1310.04702012/05/01 02:56:560B / 70B / 59B
4Alinfty1360.04542012/05/01 15:52:460B / 60B / 76B
5fill1530.04282012/04/19 20:07:280B / 73B / 80B
6tm1580.04702012/04/30 22:48:350B / ?B / ?B
7ka1620.04342012/04/30 00:32:490B / 76B / 84B
8LeafG2490.04762012/04/22 20:05:160B / 129B / 111B
9s1090.03382012/05/01 16:58:510B / 55B / 54B
10G.w.1290.06412012/05/01 16:23:550B / 69B / 58B

D _

RankUserSizeTimeDateStatistics
1macik1520.05452012/04/28 06:53:030B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails740.04872012/04/22 20:16:290B / 16B / 47B

GolfScript _

RankUserSizeTimeDateStatistics
1clock320.14722012/04/29 16:11:290B / 4B / 26B
2twobit340.11102012/04/25 07:52:470B / 5B / 28B
3macik500.25372012/04/29 06:52:060B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1clock570.15442012/04/29 17:03:374B / 31B / 20B

Groovy _

RankUserSizeTimeDateStatistics
1nn864.14262012/04/18 08:10:090B / 47B / 35B

Language Ranking_

RankLangUserSizeScore
1Jpooq2810000
2GolfScriptclock328750
3Ktwobit407000
4Perlteebee446363
5Rubyleonid475957
6Vimclock574912
7sedtails743783
8JavaScriptclock(nn)783589
9Pythonleonid793544
10PHPprimo803500
11Groovynn863255
12Cush1092568
13Schemekaki1112522
14Dmacik1521842

return top