Skip to content

Заполнить матрицу по спирали начиная от центра на языке Golang

License

Notifications You must be signed in to change notification settings

dmitryrpm/matrix-spiral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

matrix-spiral

Заполнить матрицу по спирали начиная от центра

go run main.go

output

matrix: 7x7
===========
31	30	29	28	27	26	49	
32	13	12	11	10	25	48	
33	14	3	2	9	24	47	
34	15	4	1	8	23	46	
35	16	5	6	7	22	45	
36	17	18	19	20	21	44	
37	38	39	40	41	42	43

About

Заполнить матрицу по спирали начиная от центра на языке Golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages