搜索资源列表
2
- 1.请编写一个函数void fun(char *tt,int pp[]),统计在tt字符中"a"到"z"26各字母各自出现的次数,并依次放在pp所指的数组中。 2.下列程序定义了n×n的二维数组,并在主函数中赋值。请编写函数fun,函数的功能使求出数组周边元素的平均值并作为函数值返回给主函数中的s。-1. Please write a function void fun (char* tt, int pp []), statistics tt characters " a&qu
1
- 八皇后问题是求出在一个n×n的棋盘上,放置n个不能互相捕捉的国际象棋“皇后”的所有布局(皇后可以沿着纵横和两条斜线4个方向相互捕捉)的问题。是一种比较常见的练习C语言递归或者栈使用的程序问题。-Eight queens problem is to find an nn chessboard, place of n are not mutually capture chess " queen" of all the layout (Queens and two along the
matlab
- 里边包含了一个如何区分6和9的代码以及用最小距离法、梯度法以及K-NN方法对样本进行的分类代码-Inside contains an example of how to distinguish between 6 and 9, as well as the code with the minimum distance method, the gradient method and K-NN method for sample classification codes