登录
首页 » 其他项目 » 显示螺旋队列,//螺旋队列.cpp // 21 22 ... ... // 20 7 8 9 10 // 19 6 1 2 11 // 18 5...

显示螺旋队列,//螺旋队列.cpp // 21 22 ... ... // 20 7 8 9 10 // 19 6 1 2 11 // 18 5...

于 2023-02-15 发布 文件大小:1,015.00 B
0 80
下载积分: 2 下载次数: 1

代码说明:

显示螺旋队列,//螺旋队列.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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696524资源总数
  • 103848会员总数
  • 55今日下载