0
Please can u help me? C ++
Your task is to write a program that will fill a matrix NxN with ones and zeros in spiral mode (starting from top left corner,look at the example). Input One line contains only one odd number N (1 <= N <= 50) Output Output the matrix filled with ones and zeros placed in spiral mode. Samples: № Input Output 1 7 1111111 0000001 1111101 1000101 1011101 1000001 1111111
3 odpowiedzi
0
Here, let me know if there is a problem:
https://code.sololearn.com/cDBq5MEvZjQ7/#cpp
Now come the dislikes...
0
wrong answer(
0
Altyn why?