| Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. bfs.
 
 
 Numbers squareShqip  Question:  Draw a square composed
from numbers that increases linearly in every row and column
starting from a given number.
 Input specification  You will be given two numbers (n & k): the size of the square and
the starting value on the upper left corner.
where 0 ≤ (n,k) ≤ 30.
 Output specification  Show the numbers square with the given size (n) starting with k
on the left corner and increasing linearly on every row and column.
 
| Sample Input I 
 
  4 2
 
 | Sample Input II 
 
  6 7 
 |  
| Sample Output I 
 
  2 3 4 5 3 4 5 6
 4 5 6 7
 5 6 7 8
 
 | Sample Output II 
 
  7  8  9  10 11 12 8  9  10 11 12 13
 9  10 11 12 13 14
 10 11 12 13 14 15
 11 12 13 14 15 16
 12 13 14 15 16 17
 
 |  Для отправки решений необходимо выполнить вход.
 
 
 |