文件名称:luoxuan
介绍说明--下载内容均来自于网络,请自行研究使用
显示螺旋队列,//螺旋队列.cpp
// 21 22 ... ...
// 20 7 8 9 10
// 19 6 1 2 11
// 18 5 4 3 12
// 17 16 15 14 13
//看清以上数字排列的规律,设1点的坐标是(0,0),X方向向右为正,y方向向下为正。例如,7的坐标为
//(-1,-1),2的坐标为(0,1),3的坐标为(1,1)。编程实现输入任意一点坐标(x,y),输出所对应得-Show the spiral queue,// spiral queue. Cpp// 21 22 ... ...// 20 7 8 9 10// 19 6 1 2 11// 18 5 4 3 12// 17 16 15 14 13// see the above figures with the laws of 1:00 set the coordinates is (0,0), X is positive to the right direction, y direction is positive downward. For example, 7 of the coordinates// (-1,-1), 2 coordinates for (0,1), 3 coordinates for the (1,1). Programming enter coordinates of any point (x, y), the output corresponding to a
// 21 22 ... ...
// 20 7 8 9 10
// 19 6 1 2 11
// 18 5 4 3 12
// 17 16 15 14 13
//看清以上数字排列的规律,设1点的坐标是(0,0),X方向向右为正,y方向向下为正。例如,7的坐标为
//(-1,-1),2的坐标为(0,1),3的坐标为(1,1)。编程实现输入任意一点坐标(x,y),输出所对应得-Show the spiral queue,// spiral queue. Cpp// 21 22 ... ...// 20 7 8 9 10// 19 6 1 2 11// 18 5 4 3 12// 17 16 15 14 13// see the above figures with the laws of 1:00 set the coordinates is (0,0), X is positive to the right direction, y direction is positive downward. For example, 7 of the coordinates// (-1,-1), 2 coordinates for (0,1), 3 coordinates for the (1,1). Programming enter coordinates of any point (x, y), the output corresponding to a
(系统自动生成,下载前可以参看下载内容)
下载文件列表
luoxuan.cpp