-
lab2
输入:
输入包括多个测试集,每行为一个正奇数N(1 <= N < 10),
0作为输入的结束且不需要处理。
输出:
对于输入的每一个N, 输出一个它所对应的N阶幻方,如果存在多个,
任意一个即可。
Sample Input
1
3
0
Sample Output
1
4 9 2
3 5 7
8 1 6
(Input: The input includes multiple test sets, each one being the odd behavior of N (1 < = N < 10), 0 as the end of the input and does not require treatment. Output: For each input N, N it corresponds to the output of a magic square, if there is more than one, any one can. Sample Input 1 3 0 Sample Output 1 4 9 2 3 5 7 8 1 6)
- 2014-02-19 15:40:48下载
- 积分:1
-
Morph
用Visual C++实现基于数学形态学的数字图像处理,包括二值图像的腐蚀,膨胀,开,闭,细化及中轴变换等运算.(Visual C++ using mathematical morphology-based digital image processing, including binary image erosion and dilation, opening, closing, thinning, and the central axis transform operations.)
- 2011-11-08 16:34:42下载
- 积分:1
-
MFC_txt
创建一个文件对话框,并实现对txt格式的文件的读写操作(create a filedialog and operate the file)
- 2013-05-02 20:33:56下载
- 积分:1
-
eCan_Rx
基于DSP的CAN通信的接收过程,主要是在接收时使用该程序(DSP-based CAN communication reception process, mainly in the reception of the use of the program)
- 2017-05-13 20:10:54下载
- 积分:1
-
exe2swf
程序是一个可执行文件,程序是把flash编译成的可执行文件转换成swf类型.(Program is an executable file, the program is to compile the executable file flash convert swf type.)
- 2009-09-29 11:31:52下载
- 积分:1
-
complex
c++实现的复数类及其运算符,包括加减乘除等符号重载,包括复数与实数、复数与复数之间的各种运算。(class complex by C++)
- 2015-03-03 21:50:55下载
- 积分:1
-
VC
说明: 用VC编写的电脑鼠走迷宫,能走出所有路径,并找出最短路径(VC' s computer with a mouse maze, to get out all the paths, and find the shortest path)
- 2010-04-11 11:25:03下载
- 积分:1
-
baiji
百鸡算法是一种简单的逻辑算法,通过不同的鸡不同的价钱,得出大鸡小鸡的个数(Typical code for white chicken algorithm)
- 2012-06-02 16:31:30下载
- 积分:1
-
51chuankoutiaoshi
51单片机串口调试程序一列,希望对大家有用(51 Single-chip serial debugging a program, in the hope that useful to everybody)
- 2008-05-20 12:10:22下载
- 积分:1
-
Web-application-source-code
使用Visual C++ 或Visual Studio集成开发环境与Socket API,使用C++编程语言,设计并实现了一个简单的点对点的多线程网络聊天软件,使用多线程实现数据的收发(Using Visual c++ or Visual Studio integrated development environment and the Socket API, using c++ programming language, designed and implemented a simple point-to-point multi-threaded network chat software, using multi-threaded send and receive data
)
- 2020-07-04 14:20:01下载
- 积分:1