会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xiaoxi666
Master programmers think of systems as stories to be told rather than programs to be written.
博客园
首页
新随笔
联系
订阅
管理
2017年8月1日
【模板小程序】循环方阵构造(仿《剑指offer》循环矩阵打印)
摘要: 1 /* 2 本程序说明: 3 4 输入:方阵大小n,输出:n*n的旋转方阵 5 6 举例: 7 当n=2时,输出: 8 1 2 9 4 3 10 当n=4时,输出: 11 1 2 3 4 12 12 13 14 5 13 11 16 15 6 14 10 9 8 7 15 16 */ 17 #include...
阅读全文
posted @ 2017-08-01 17:43 xiaoxi666
阅读(281)
评论(0)
推荐(0)
公告
TOP