Looped grid

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

show the grid of numbers

*created by madshall

Options

exec is denied

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

Sample input:_

9

Sample output:

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

Sample input:_

7

Sample output:

1 2 3 4 5 6 7
2 1 2 3 4 5 6
3 2 1 2 3 4 5
4 3 2 1 2 3 4
5 4 3 2 1 2 3
6 5 4 3 2 1 2
7 6 5 4 3 2 1

Sample input:_

5

Sample output:

1 2 3 4 5
2 1 2 3 4
3 2 1 2 3
4 3 2 1 2
5 4 3 2 1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid470.02622014/09/04 07:02:080B / 22B / 23B
2Histocrat470.03432014/09/10 00:06:120B / 21B / 24B
3mitchs480.03672014/09/04 08:36:460B / 23B / 22B
4BioFALSE830.03462014/09/07 18:04:110B / 47B / 27B

Perl _

RankUserSizeTimeDateStatistics
1teebee400.03242014/09/04 16:16:510B / 17B / 22B
2brx400.03252014/09/09 05:01:140B / 12B / 27B
3mitchs400.03352014/09/09 05:29:070B / 17B / 22B
4BioFALSE620.03242014/09/07 06:42:580B / 24B / 35B
5jonathan camacho910.03402014/09/06 13:49:080B / 36B / 53B

Python _

RankUserSizeTimeDateStatistics
1leonid560.09062014/09/05 06:00:560B / 28B / 27B
2xsot580.08682014/09/04 22:22:510B / 30B / 26B
3hallvabo580.09882014/09/04 22:53:020B / 25B / 33B
4rolf630.10392014/09/05 04:46:490B / 40B / 18B
5Vim Lover820.08232016/08/17 06:31:190B / ?B / ?B
6potato950.10572016/08/17 06:27:360B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mypetlion600.13982018/05/03 08:06:010B / 34B / 22B

Pike _

RankUserSizeTimeDateStatistics
1pooq1020.56632014/09/07 19:35:050B / 56B / 42B

Io _

RankUserSizeTimeDateStatistics
1teebee740.22022014/09/07 07:25:420B / 41B / 30B
2pooq800.23652014/09/06 18:02:470B / 43B / 35B

JavaScript _

RankUserSizeTimeDateStatistics
1madshall720.04842014/09/05 05:55:230B / 39B / 32B

REXX _

RankUserSizeTimeDateStatistics
1teebee630.03442014/09/08 05:53:470B / 39B / 15B

BASIC _

RankUserSizeTimeDateStatistics
1teebee540.03172014/09/05 05:46:020B / 36B / 13B
2pooq540.03552014/09/05 07:48:020B / 36B / 11B

J _

RankUserSizeTimeDateStatistics
1pooq180.07422014/09/04 12:36:450B / 6B / 12B

K _

RankUserSizeTimeDateStatistics
1teebee250.02612014/09/06 22:21:000B / 8B / 17B

C _

RankUserSizeTimeDateStatistics
1teebee780.01102014/09/11 05:31:500B / 35B / 42B
2xsot810.03192014/09/06 23:40:580B / 38B / 42B
3pandamonium810.01082014/09/10 22:04:060B / 37B / 43B
4chocobi850.03202014/09/10 00:46:110B / 47B / 38B

Haskell _

RankUserSizeTimeDateStatistics
1henkma770.04202014/09/08 08:57:220B / 48B / 27B

Pascal _

RankUserSizeTimeDateStatistics
1teebee1000.02952014/09/07 18:23:300B / 60B / 26B
2BioFALSE1260.02042014/09/07 17:33:320B / 79B / 29B

Maxima _

RankUserSizeTimeDateStatistics
1teebee700.31092014/09/06 08:47:530B / 35B / 33B
2pooq720.55392014/09/04 23:05:350B / 33B / 37B

Octave _

RankUserSizeTimeDateStatistics
1teebee520.71672014/09/06 21:03:080B / 34B / 17B
2pooq520.63882014/09/06 23:40:120B / 34B / 17B

REBOL _

RankUserSizeTimeDateStatistics
1pooq880.07262014/09/05 07:01:160B / 48B / 21B

AWK _

RankUserSizeTimeDateStatistics
1teebee500.03262014/09/06 07:25:300B / 25B / 25B
2llhuii500.03182014/09/07 00:40:320B / ?B / ?B

xgawk _

RankUserSizeTimeDateStatistics
1teebee500.03222014/09/07 01:30:510B / 25B / 25B
2llhuii520.03212014/09/07 01:09:120B / ?B / ?B

R _

RankUserSizeTimeDateStatistics
1teebee490.40362014/09/05 06:07:130B / 30B / 17B
2pooq530.59032014/09/04 17:52:080B / 29B / 24B
3NikNakk660.40452014/09/15 06:20:430B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1nooodl220.05692014/09/05 03:13:520B / ?B / ?B
2whio220.07562014/09/06 05:19:060B / 6B / 15B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee210.04072014/09/06 22:37:530B / 12B / 9B
2Hendrik240.03472014/09/05 11:19:500B / 8B / 16B

Vim _

RankUserSizeTimeDateStatistics
1udioica330.05122016/12/03 13:40:443B / 23B / 5B

Logo _

RankUserSizeTimeDateStatistics
1teebee520.04152014/09/06 23:39:520B / 30B / 11B

Language Ranking_

RankLangUserSizeScore
1Jpooq1810000
2Burlesqueteebee218571
3GolfScriptnooodl228181
4Kteebee257200
5Vimudioica335454
6Perlteebee404500
7Rubyleonid473829
8Rteebee493673
9AWKteebee503600
10xgawkteebee503600
11Octaveteebee523461
12Logoteebee523461
13BASICteebee543333
14Pythonleonid563214
15Python3mypetlion603000
16REXXteebee632857
17Maximateebee702571
18JavaScriptmadshall722500
19Ioteebee742432
20Haskellhenkma772337
21Cteebee782307
22REBOLpooq882045
23Pascalteebee1001800
24Pikepooq1021764

return to the top page