搜索资源列表
c1
- 用选择法对10个整数排序 已由一个已排好序的数组,今输入一个数,要求按原来排序的规律将它插入数组中 杨辉三角形 按顺时针旋进的5×5的螺旋方阵,打印 要求判定矩阵An*n是否为对称阵 输出下列9×9方阵-With the selection method has been a sort of 10 integers is sorted array, this type a number, required by the law of the original order an
ClockwiseSpiral
- 自己做的把1,2,3…n*n 的数字按照顺时针螺旋的形式形成矩阵。-Do 1, 2, 3 ... n* n figures formed by the clockwise spiral form of a matrix.
rotate
- 输入一个自然数N(2≤N≤9),要求输出如下的螺旋矩阵,即边长为N*N,元素取值为1至N*N,1在左上角,呈顺时针方向依次放置各元素。-Enter a natural number N (2 ≤ N ≤ 9), the required output of a screw matrix, i.e. a side length of N* N, elements in the range 1 to N* N, 1 in the upper left, showing the elements ar