Toeplitz 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

Fill in the blanks.

-- mitchs

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

1 1 1 0 1 0 1 0 1 1
0
1
0
1
0
1
1
1
0

Sample output:

1 1 1 0 1 0 1 0 1 1
0 1 1 1 0 1 0 1 0 1
1 0 1 1 1 0 1 0 1 0
0 1 0 1 1 1 0 1 0 1
1 0 1 0 1 1 1 0 1 0
0 1 0 1 0 1 1 1 0 1
1 0 1 0 1 0 1 1 1 0
1 1 0 1 0 1 0 1 1 1
1 1 1 0 1 0 1 0 1 1
0 1 1 1 0 1 0 1 0 1

Sample input:_

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

Sample output:

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

Sample input:_

n v y l x i s h c b r g w q a t y h f r
r
s
j
t
t
w
x
w
o
e
r
r
w
l
r
j
g
o
j

Sample output:

n v y l x i s h c b r g w q a t y h f r
r n v y l x i s h c b r g w q a t y h f
s r n v y l x i s h c b r g w q a t y h
j s r n v y l x i s h c b r g w q a t y
t j s r n v y l x i s h c b r g w q a t
t t j s r n v y l x i s h c b r g w q a
w t t j s r n v y l x i s h c b r g w q
x w t t j s r n v y l x i s h c b r g w
w x w t t j s r n v y l x i s h c b r g
o w x w t t j s r n v y l x i s h c b r
e o w x w t t j s r n v y l x i s h c b
r e o w x w t t j s r n v y l x i s h c
r r e o w x w t t j s r n v y l x i s h
w r r e o w x w t t j s r n v y l x i s
l w r r e o w x w t t j s r n v y l x i
r l w r r e o w x w t t j s r n v y l x
j r l w r r e o w x w t t j s r n v y l
g j r l w r r e o w x w t t j s r n v y
o g j r l w r r e o w x w t t j s r n v
j o g j r l w r r e o w x w t t j s r n

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs310.03752015/07/18 11:00:550B / 8B / 20B
2Histocrat310.03382015/07/23 05:57:370B / 10B / 18B
3ludo310.04382015/07/25 02:46:010B / 10B / 18B
4clock310.03212019/06/15 13:41:480B / 10B / 18B
5llhuii310.03212019/06/16 21:52:070B / 10B / 18B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs310.19892015/12/03 08:04:150B / 10B / 18B
2clock310.15422019/06/15 13:46:260B / 10B / 18B
3llhuii310.15242019/06/16 21:52:150B / 10B / 18B
4ludo310.14842019/10/01 20:06:210B / 10B / 18B

Perl _

RankUserSizeTimeDateStatistics
1llhuii290.03252017/10/01 23:36:350B / 10B / 17B
2teebee300.03312015/07/19 07:19:190B / 8B / 19B
3tails300.03852015/07/30 16:25:170B / 8B / 20B
4BioFALSE370.03252015/07/19 06:53:490B / 16B / 21B
5%20370.03252015/08/31 05:35:170B / 9B / 24B
6jonathan camacho410.03482015/08/02 12:30:550B / 12B / 26B

Python _

RankUserSizeTimeDateStatistics
1xsot450.07982015/07/18 10:44:090B / 20B / 22B
2mitchs450.08772015/07/18 10:48:070B / 20B / 22B
3xnor450.09012015/07/18 18:06:580B / ?B / ?B
4recursive450.08512015/07/20 06:59:420B / 20B / 22B
5whatisgolf450.12252015/08/21 17:44:510B / ?B / ?B
6llhuii450.10712015/08/31 00:47:220B / 20B / 22B
7twobit450.17242016/03/08 22:10:170B / ?B / ?B
8teebee450.11862016/03/09 05:33:250B / 20B / 22B
9clock450.07212019/03/20 00:37:430B / 20B / 22B
10rolf460.09722015/07/18 20:27:400B / 22B / 22B
11hallvabo470.09322015/07/19 06:22:210B / 20B / 24B
12480.09352015/07/20 06:55:380B / 23B / 21B

Python3 _

RankUserSizeTimeDateStatistics
1xsot410.15692015/07/18 10:46:500B / 17B / 21B
2mitchs410.14722015/07/18 10:48:480B / 17B / 21B
3llhuii410.25552015/08/31 00:47:470B / 17B / 21B
4teebee410.21232016/03/09 05:35:050B / 17B / 21B
5clock410.21992019/03/20 00:39:120B / 17B / 21B
6Stephan W.470.17722015/07/20 20:49:330B / 26B / 19B
7mypetlion480.14112018/04/28 05:30:030B / 26B / 21B

Common LISP _

RankUserSizeTimeDateStatistics
1ttmh800.06012019/06/09 23:37:180B / 46B / 30B
2rolf1100.08162015/08/01 06:59:430B / 75B / 28B
3hebiyan5970.07222015/09/25 15:43:590B / 311B / 103B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea520.04582015/09/10 15:58:590B / 29B / 22B
2teebee520.04822015/09/10 18:46:500B / 29B / 22B
3Jakzo520.07372016/01/29 22:35:400B / 29B / 22B
4clock520.05182019/06/15 13:00:220B / 29B / 22B
5/javayTea540.04522015/09/10 08:06:430B / 29B / 24B
6Shmiddty540.04792015/09/23 08:26:340B / 30B / 23B

Lua _

RankUserSizeTimeDateStatistics
1clock560.03242019/04/17 18:52:570B / 30B / 24B
2tehtmi590.03232019/04/17 07:35:320B / 33B / 23B

Crystal _

RankUserSizeTimeDateStatistics
1clock450.04082019/08/19 23:44:470B / 23B / 20B

Perl6 _

RankUserSizeTimeDateStatistics
1jonathan camacho1121.73102015/08/02 15:47:170B / 40B / 44B

K _

RankUserSizeTimeDateStatistics
1teebee190.03512015/07/19 18:16:430B / 6B / 12B
2twobit190.03992016/03/08 22:50:290B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1llhuii560.03182015/07/26 11:08:090B / 30B / 26B
2lpha620.03262015/07/19 03:37:500B / 31B / 31B
3hogeover30700.03482015/09/08 01:12:140B / 39B / 31B
4chocobi830.03172015/07/19 23:21:140B / 42B / 40B

Haskell _

RankUserSizeTimeDateStatistics
1henkma590.03752015/08/02 10:06:370B / 40B / 18B
2cojna600.04152015/07/22 20:55:120B / 42B / 17B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii560.03182015/07/26 11:14:490B / 30B / 26B

Java _

RankUserSizeTimeDateStatistics
1teebee1450.22872016/04/05 07:22:430B / 88B / 49B

Chapel _

RankUserSizeTimeDateStatistics
1clock940.02742019/03/20 00:11:450B / 59B / 32B

AWK _

RankUserSizeTimeDateStatistics
1teebee180.03162015/07/20 00:19:530B / 9B / 8B
2mitchs180.03192015/07/20 01:09:010B / 9B / 9B
3llhuii180.03462015/07/26 08:22:170B / 9B / 9B
4McBusLuck360.03132019/06/07 02:28:550B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1teebee150.03202015/07/26 00:22:210B / 5B / 6B
2tails150.03182015/07/30 12:22:030B / 5B / 6B
3mitchs150.04352016/02/17 17:54:010B / 5B / 6B
4%20210.03222016/09/24 13:56:240B / 8B / 9B

jq _

RankUserSizeTimeDateStatistics
1clock590.03292019/10/03 00:06:160B / 20B / 37B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1llhuii320.04162017/10/01 20:19:180B / 11B / 15B
2tails320.04042019/06/06 14:37:330B / 11B / 15B
3teebee350.05282016/02/17 16:41:150B / 13B / 18B
4ttmh350.05212016/03/08 12:54:270B / 13B / 17B

wake _

RankUserSizeTimeDateStatistics
1clock370.04042019/10/11 01:40:430B / 6B / 28B

xgawk _

RankUserSizeTimeDateStatistics
1teebee180.03232015/07/20 00:20:320B / 9B / 8B
2mitchs180.03262015/07/20 01:09:320B / 9B / 9B
3llhuii180.03972015/07/26 08:22:250B / 9B / 9B

R _

RankUserSizeTimeDateStatistics
1clock680.31792019/09/27 23:47:000B / 39B / 27B
2olf780.32312019/09/27 21:44:160B / 41B / 37B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs660.03202015/07/18 08:30:150B / 0B / 66B

Whitespace _

RankUserSizeTimeDateStatistics
1%202070.03972015/07/18 14:27:580B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1whio170.05592015/07/18 05:33:430B / 4B / 12B
2tails170.06212015/07/18 12:42:320B / 4B / 12B
3mender170.05722016/09/12 16:12:480B / 4B / 12B
4clock170.04292019/01/26 01:07:010B / 4B / 12B
5nooodl190.05292015/07/18 05:54:220B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs70.26302015/07/18 08:48:252B / 2B / 3B
2whio70.24672015/07/31 07:06:512B / 2B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1clock190.04342019/09/26 02:19:000B / 14B / 5B

Vim _

RankUserSizeTimeDateStatistics
1primo170.11522016/02/29 14:27:130B / 14B / 3B
2FizzyTea170.09902016/02/29 15:38:060B / 15B / 2B
3xsot170.05592016/08/27 15:10:440B / 15B / 2B
4clock170.03702019/03/20 00:56:050B / 15B / 2B
5twobit180.07452016/03/08 22:20:490B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1mitchs280.06872016/05/12 19:18:110B / 7B / 20B

Groovy _

RankUserSizeTimeDateStatistics
1teebee543.00272015/07/20 05:01:500B / 30B / 22B

Scala _

RankUserSizeTimeDateStatistics
1clock605.46002019/10/24 02:16:210B / 38B / 19B

Logo _

RankUserSizeTimeDateStatistics
1teebee390.03522015/07/18 17:01:010B / 25B / 7B
2clock390.03422019/04/27 00:41:570B / 25B / 7B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs710000
2sedteebee154666
3GolfScriptwhio174117
4Vimprimo174117
5AWKteebee183888
6xgawkteebee183888
7Kteebee193684
8Burlesqueclock193684
9gorubymitchs282500
10Perlllhuii292413
11Rubymitchs312258
12Ruby2mitchs312258
13Bash (builtins)llhuii322187
14wakeclock371891
15Logoteebee391794
16Python3xsot411707
17Pythonxsot451555
18Crystalclock451555
19JavaScriptFizzyTea521346
20Groovyteebee541296
21Cllhuii561250
22ObjCllhuii561250
23Luaclock561250
24Haskellhenkma591186
25jqclock591186
26Scalaclock601166
27Brainfuckmitchs661060
28Rclock681029
29Common LISPttmh80875
30Chapelclock94744
31Perl6jonathan camacho112625
32Javateebee145482
33Whitespace%20207338

return to the top page