create matrix like below --

for x=2,

y=[1     1     1     1     1;
   1     2     2     2     1;
   1     2     3     2     1;
   1     2     2     2     1;
   1     1     1     1     1]  . 
for x=3, 
y=[1     1     1     1     1     1     1     1     1;
   1     2     2     2     2     2     2     2     1;
   1     2     3     3     3     3     3     2     1;
   1     2     3     4     4     4     3     2     1;
   1     2     3     4     5     4     3     2     1;
   1     2     3     4     4     4     3     2     1;
   1     2     3     3     3     3     3     2     1;
   1     2     2     2     2     2     2     2     1;
   1     1     1     1     1     1     1     1     1]

Solution Stats

50 Solutions

21 Solvers

Last Solution submitted on May 30, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...