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

51 Solutions

22 Solvers

Last Solution submitted on Jul 10, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...