Multiplication table

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

http://en.wikipedia.org/wiki/Multiplication_table

Given n, print a multiplication table up to n * n

Options

exec is denied

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

Sample input:_

5

Sample output:

0   1   2   3   4   5
1   1   2   3   4   5
2   2   4   6   8   10
3   3   6   9   12  15
4   4   8   12  16  20
5   5   10  15  20  25

Sample input:_

1

Sample output:

0   1
1   1

Sample input:_

20

Sample output:

0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18  19  20
1   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18  19  20
2   2   4   6   8   10  12  14  16  18  20  22  24  26  28  30  32  34  36  38  40
3   3   6   9   12  15  18  21  24  27  30  33  36  39  42  45  48  51  54  57  60
4   4   8   12  16  20  24  28  32  36  40  44  48  52  56  60  64  68  72  76  80
5   5   10  15  20  25  30  35  40  45  50  55  60  65  70  75  80  85  90  95  100
6   6   12  18  24  30  36  42  48  54  60  66  72  78  84  90  96  102 108 114 120
7   7   14  21  28  35  42  49  56  63  70  77  84  91  98  105 112 119 126 133 140
8   8   16  24  32  40  48  56  64  72  80  88  96  104 112 120 128 136 144 152 160
9   9   18  27  36  45  54  63  72  81  90  99  108 117 126 135 144 153 162 171 180
10  10  20  30  40  50  60  70  80  90  100 110 120 130 140 150 160 170 180 190 200
11  11  22  33  44  55  66  77  88  99  110 121 132 143 154 165 176 187 198 209 220
12  12  24  36  48  60  72  84  96  108 120 132 144 156 168 180 192 204 216 228 240
13  13  26  39  52  65  78  91  104 117 130 143 156 169 182 195 208 221 234 247 260
14  14  28  42  56  70  84  98  112 126 140 154 168 182 196 210 224 238 252 266 280
15  15  30  45  60  75  90  105 120 135 150 165 180 195 210 225 240 255 270 285 300
16  16  32  48  64  80  96  112 128 144 160 176 192 208 224 240 256 272 288 304 320
17  17  34  51  68  85  102 119 136 153 170 187 204 221 238 255 272 289 306 323 340
18  18  36  54  72  90  108 126 144 162 180 198 216 234 252 270 288 306 324 342 360
19  19  38  57  76  95  114 133 152 171 190 209 228 247 266 285 304 323 342 361 380
20  20  40  60  80  100 120 140 160 180 200 220 240 260 280 300 320 340 360 380 400

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid670.03772013/05/07 05:47:020B / 32B / 33B
2jpl790.03702013/05/07 20:20:520B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1brx550.03342013/05/06 04:35:130B / 17B / 37B
2teebee550.03312013/05/06 05:25:070B / 17B / 37B
3whio570.03352013/05/01 00:52:590B / 20B / 35B
4Hem590.03282013/05/04 12:02:520B / 16B / 42B

Python _

RankUserSizeTimeDateStatistics
1leonid800.10542013/05/07 11:58:200B / 48B / 25B
2twobit810.10802013/04/29 22:48:080B / 49B / 25B
3clock810.09752013/05/06 12:57:490B / 48B / 24B
4xsot820.09202013/05/03 21:04:291B / 48B / 24B
5Volatility890.09432013/04/29 22:24:591B / 49B / 32B
6govind1110.11792013/05/12 03:50:070B / ?B / ?B
7xsot (Does this work now?)820.11102013/05/13 18:56:161B / 48B / 24B

Io _

RankUserSizeTimeDateStatistics
1pooq1340.29432013/04/30 10:54:280B / 88B / 40B

JavaScript _

RankUserSizeTimeDateStatistics
1Shmiddty850.06002013/05/08 08:36:570B / 39B / 43B
20mg850.05282013/05/08 12:24:370B / 39B / 43B
3clock880.10382013/05/06 12:49:120B / 44B / 41B
4copy880.05962013/05/07 17:14:370B / ?B / ?B
5Escalation880.04792013/05/07 22:24:370B / 44B / 41B
60mg is a damned wizard.880.04922013/05/08 05:24:430B / 41B / 44B

Lua _

RankUserSizeTimeDateStatistics
1clock900.03482013/05/06 12:45:330B / 49B / 30B
2twobit1050.02612013/05/06 19:06:040B / 65B / 32B

PARI/GP _

RankUserSizeTimeDateStatistics
1clock680.04332013/05/13 00:44:550B / 38B / 30B
2teebee730.05332013/05/07 05:30:230B / 39B / 34B

BASIC _

RankUserSizeTimeDateStatistics
1pooq1030.17822013/04/30 13:00:200B / 56B / 30B

J _

RankUserSizeTimeDateStatistics
1I., S.400.05882013/04/30 07:51:190B / 10B / 30B
2pooq510.08582013/04/29 23:21:280B / 25B / 25B

K _

RankUserSizeTimeDateStatistics
1twobit390.03512013/05/02 05:32:310B / 10B / 29B

C _

RankUserSizeTimeDateStatistics
1twobit820.01152013/05/02 06:48:110B / 38B / 44B
2pandamonium820.03232013/05/04 20:40:100B / 37B / 45B
30mg820.03202013/05/06 13:05:340B / 37B / 45B
4TokusiN870.03212013/05/02 14:57:150B / 40B / 47B
5jdoe1020.03202013/05/02 05:02:360B / 48B / 54B

Rust _

RankUserSizeTimeDateStatistics
1klapaucius2280.07052013/04/30 13:43:220B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma980.04372013/05/09 18:17:330B / 54B / 36B

AWK _

RankUserSizeTimeDateStatistics
1teebee650.03432013/05/06 05:26:170B / 28B / 37B

GolfScript _

RankUserSizeTimeDateStatistics
1tails320.13292013/05/06 17:19:290B / 7B / 24B
2twobit360.12952013/05/07 04:33:070B / 8B / 27B

Burlesque _

RankUserSizeTimeDateStatistics
1clock380.05052013/04/30 23:17:010B / 22B / 15B
2mroman520.10442013/04/29 23:56:220B / 21B / 26B

Language Ranking_

RankLangUserSizeScore
1GolfScripttails3210000
2Burlesqueclock388421
3Ktwobit398205
4JI., S.408000
5Perlbrx555818
6AWKteebee654923
7Rubyleonid674776
8PARI/GPclock684705
9Pythonleonid804000
10Ctwobit823902
11JavaScriptShmiddty853764
12Luaclock903555
13Haskellhenkma983265
14BASICpooq1033106
15Iopooq1342388
16Rustklapaucius2281403

return top