Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop CSharp
Title: dayin Download
 Description: Write spiral square. Square spiral form which is as follows: 1 12 1,110,213,169,314,158,456 7 set row, column representing the row, column coordinates, the variable p p from 1 to n2 will turn into an array a [row] [column], we must determine the row, colomn changes. As follows: the introduction of variable k, the initial value is n. When the data stored in the lower left or upper right corner when, k by 1, it will ensure that the output matrix. The introduction of variable t, the initial value is 1, when the data stored in the lower right corner, have resulted in changes consistent with t, the time when the deposit to the upper left corner, t and changing the match, it will ensure that the correct assignment to the array of coordinates.
 Downloaders recently: [More information of uploader wyf_0815]
 To Search:
File list (Check if you may need any files):
打印旋转方阵\3_19.cpp
............\3_19.dsp
............\3_19.dsw
............\3_19.ncb
............\3_19.opt
............\3_19.plg
............\编写螺旋方阵.doc
打印旋转方阵
    

CodeBus www.codebus.net