Problem Description

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
Boundary layer numbers. Distance from edge calculate karo: min(i, j, n-1-i, n-1-j) + 1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next