文件名称:snail
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:3.13kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在Linux环境下,创建蜗牛型数组,并从命令行传递数组阶数,通过makefile实现自动编译-Create the below format number list(like a snail).
If input is 3, the output should be:
1 2 3
8 9 4
7 6 5
If input is 4, the output should be:
1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7
If the input is 5, the output should be:
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
The input should be in the command line, but not in your code
internally.
If input is 3, the output should be:
1 2 3
8 9 4
7 6 5
If input is 4, the output should be:
1 2 3 4
12 13 14 5
11 16 15 6
10 9 8 7
If the input is 5, the output should be:
1 2 3 4 5
16 17 18 19 6
15 24 25 20 7
14 23 22 21 8
13 12 11 10 9
The input should be in the command line, but not in your code
internally.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
snail/AnchorTest
snail/AnchorTest.c
snail/makefile
snail
snail/AnchorTest.c
snail/makefile
snail
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.