求S=12+22+32+…的前N项和,使和S的值大于1000即结束计算。编程实现该功能
标签: 12
上传时间: 2016-04-23
上传用户:wsf950131
创建长度为n的双向循环链表,值为整数。 查找第k个元素并输出。 删除所有值为m的元素。 逆置链表并输出。
上传时间: 2013-12-21
上传用户:xiaoyunyun
This example provides a description of how to use a DMA channel to transfer a word data buffer from memory (Flash) to memory (RAM). The dedicated DMA channel is configured to transfer once a time a 32 word data buffer stored as constant in the Flash memory to another buffer in the RAM memory. The received data are stored in the DST_Buffer. The DMA channel transfer complete interrupt is enabled to generate an interrupt at the end of the buffer transfer. As soon as the transfer is completed an interrupt is generated and in the DMA channel interrupt routine the transfer complete interrupt pending bit is cleared. The data counter is stored before and after the transfer to show that all data has been transfered. TransferStatus gives the data transfer status where it is PASSED if transmitted and received data are the same otherwise it is FAILED
标签: description provides transfer example
上传时间: 2016-04-24
上传用户:ecooo
产生服从正态、瑞利、泊松分布的随机数。分别为N(0,1),N(0,3.6),Rayleigh(0,1),R(0,3.6),P(0,1),P(0,3.6)
上传时间: 2014-11-28
上传用户:sunjet
N数码问题 本程序采用全局择优的启发式搜索算法来解决八数码难题
上传时间: 2013-12-20
上传用户:diets
本科时候完成的N个数的动态排序过程设计,也许对初学数据结构算法的同学有帮助
上传时间: 2016-04-25
上传用户:恋天使569
1.用do...while 语句计算平方根的简易近似算法。2.打印小于N(大于2的自然数)的素数
上传时间: 2016-04-27
上传用户:JasonC
oJPEG2000中DWT的MATLAB实现n the use of discrete cosine transform DCT jpeg compression Matlab source, simple and practical, the Notes have a good time
标签: compression transform discrete MATLAB
上传时间: 2013-12-14
上传用户:luopoguixiong
N的阶乘计算-高精度乘法,每个数据单元存4位,每次计算4位而非一位,比一般一位为单元的高精度算法约快4倍
上传时间: 2014-01-07
上传用户:mhp0114
设停车场是一个可停放n辆车的狭长通道,且只有一个大门可供汽车进出。汽车在停车场内按车辆到达时间的先后顺序,依次由北向南排列(大门在最南端,最先到达的第一辆车停放在车场的最北段),若停车厂内已停满n辆汽车,则后来的汽车只能在门外的便道上等候,一旦有车开走,则排在便道上的第一辆车迹可开入;停车场内某辆车要离开时,在它之后进入的车连必须先退出车厂为它让路,待该车辆开出大门外,其他车辆再按原次序进入车场,每辆停放在车场的车在它离开停车时必须按它停留的时间长短缴纳费用。编写按上述要求进行管理的模拟程序。
标签: 停车场
上传时间: 2016-05-01
上传用户:jing911003