搜索资源列表
n!
- 给定一个正整数n,计算n!的尾部0的个数。 输入:输入数据有若干行。每行上有一个正整数n,对应一种情形。 输出:对于每一种情形,先输出“Case #: ”(#为序号,从1起),然后输出n的值,逗号,结果,换行。-Given a positive integer n, compute the number n! tail 0. Input: Input data have a number of lines. Each line has a positive integer n, corr
doublelist
- 以双向循环链表结构存储线性表。 ⑴ 输入数据元素,以先进先出形式创建双向循环链表 ⑵ 销毁双向循环链表 ⑶ 线性表置空 ⑷ 求线性表长度 ⑸ 在第i个数据元素前插入新的元素 ⑹ 删除元素(按指定元素序号和元素值2种方式) ⑺ 显示线性表中的全部元素 ⑻ 求最大元素的值和平均值 ⑼ 就地逆置双向循环链表(不允许将结点中的值互相交换)-Two-way circular linked list structure to store the linear form.
0-1beibao
- 算法与分析中0/1背包问题的实现,求出最大价值及所放入的背包序号-Algorithms and Analysis 0/1 knapsack problem to achieve, find the maximum value and the serial number into the backpack
wuxianchuanganqi_chuankou_gui
- 在使用无线传感器接收数据,在matlab平台上建立GUI界面时,使用的GUI串口通信的程序,用于读取无线传感器的数据-Receiving data using a wireless sensor, built on the matlab platform GUI interface, use the GUI serial communication program for reading data from wireless sensor
cavityflow5
- 方腔流的串行程序。按照GUO论文上的非平衡态外推格式:附近一个格点,得边界三个方向上分布函数。边界也碰撞。角点处理。结果好。 -Cavity flow serial procedures. According to GUO study on non-equilibrium extrapolation scheme: near a lattice point, the boundary of three direction distribution function. The boundary
joseph
- joseph问题求解,使用数据结构中的线性表实现输入n个人和n个密码,输出josoph问题序列-joseph problem solving, data structures using the linear form in the input n and n personal password, serial output josoph problem
zhi-po-lian-huan
- 这是一个智破连环的算法 【输入文件】 输入文件zplhz.in第一行包含三个整数:M、n和k(1 £ M, n£ 100,1£ k£ 1000),分别表示B国连环阵由M个武器组成,A国有n个炸弹可以使用,炸弹攻击范围为k。以下M行,每行由一对整数xi,yi(0£ xi,yi £ 10000)组成,表示第i(1£ i£ M)号武器的平面坐标。再接下来n行,每行由一对整数ui,vi(0 £ ui,vi£ 10000)组成,表示第i(1£ i£ n)号炸弹的平面坐标。输入数据保证无误和有
robot
- Robotics Toolbox for Matlab-The Toolbox has always provided many functions that are useful for the study and simulation of classical arm-type robotics, for example such things as kinematics, dynamics, and trajectory generation. The Toolbox is
C
- 有n个人围成一圈,从第m个人开始顺序报号,凡报到p的人退出圈子,输出依次退出圈子的人和最后留在圈子中的人原来的序号,可用结构数组或结构链表完成。-N individuals form a circle, individuals from the first m starting sequence reported, who reported P out of the circle of people who, who in turn out of the circle of the output
Realtime
- Real time data acquisition from serial port (RS 232) using matlab.-Real time data acquisition from serial port (RS 232) using matlab.
Inverted-pendulum
- 自动控制课程设计,对单级移动倒立摆建模、线性化、串连超前校正并仿真。-curriculum design of automatic control, single-class mobile inverted pendulum modeling, linear, serial advanced calibration and simulation.
Josephus
- 2、 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。 -Josephus: The numbers 1, 2, 3, ..., of n
MatrixMultiplication
- Matrix multiplication is a ubiquitous algorithm and no parallel library is complete without a matrix multiplication sample. Moth has described this previously - see Matrix Multiplication with C++ AMP for serial and C++ AMP non-tiled version and also
yuesefu
- 约瑟夫(Josephus)环问题:编号为1,2,3,…,n的n个人按顺时针方向围坐一圈,每人持有一个密码(正整数)。一开始任选一个正整数作为报数的上限值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一人开始重新从1报数,如此下去,直到所有人全部出列为止。 建立n个人的单循环链表存储结构,运行结束后,输出依次出队的人的序号。 -oseph (Josephus,) Central problem: the numbe
serialtool
- matlab编写的串口调试工具,数据接收部分采用中断方式,保证了实时的数据显示 。在获取端口部分采用了try catch 的方式,可以更加方便的选取端口。-this is a simple serial tool scr ipted by matlab. I used interrupt to ensure the instant display of received data.
efaces0501
- 远程操作串行端口源码,非常值得收藏-Remote COntrol Serial Port,very precious
Simulink_serial_example
- matlab/simulink编写RS232串口调试程序-to write the RS232 serial communication program by matlab/simulink
RS232dev6.5-1.2.2
- 基于matlab/simulink 编写RS232串口调试软件-to write the RS232 serial communication program by matlab/simulink.
tushuguanli
- 通过这个系统可以完成以下功能:录入图书(注册新书,包括图书的编号、书名、作者、数量)、借阅图书(必须记录借书人的借书证序号、借阅天数和借阅图书的编号,并且可以通过书的编号查找到相应的借书人的资料)、归还图书(删除借阅的记录)、注销旧书(注销图书的编号等信息、将其后的图书的编号均减少一,图书信息逐一覆盖)、查询图书(可按照图书的编号、书名、作者三种方式查询图书是否存在)、修改图书(将错误的信息修改掉)。-Through this system can be completed the follow
ps2d
- 利用伪谱法进行二维弹性波模拟,更加详细的介绍见英文描述,对于做波场模拟的同学很有用。-This is a very simple code for elastic wave simulation in 2D using a Pseudo-Spectral Fourier method Authors: Heiner Igel General: Wave propagation Code level: Training Language: Fortran 90