登录
首页 » c » 经典代码集

经典代码集

于 2022-07-16 发布 文件大小:4.78 kB
0 140
下载积分: 2 下载次数: 1

代码说明:

题目:海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只   猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了   一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的,   问海滩上原来最少有多少个桃子?1.程序分析:2.程序源代码:

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • tm4c1233h6pm中文版
    TM4C单片机用资料,中文资料可做参考用(TM4C MCU information, Chinese data can be used for reference.)
    2018-09-10 15:31:53下载
    积分:1
  • yuv2rgb
    将yuv420格式的文件转换为rgb格式的文件(turn yuv420 to rgb)
    2013-09-24 09:13:22下载
    积分:1
  • ch1545kl
    说明:  ec生物信息与论文实现\matlab教程及工具箱(ec biological information and papers to achieve \ Directory and Matlab Toolbox)
    2006-03-15 21:14:45下载
    积分:1
  • win32Tread
    说明:  基于 win32 的线程函数 ! 比较简洁 !( win32 thread function !)
    2010-04-20 22:10:50下载
    积分:1
  • DE优化函数程序
    大坝变形的精确预测对其安全评价方面发挥着重要作用。为了进一步提高大坝变形预测精度,提出了一种改进的灰狼算法优化支持向量机的预测模型。通过引入非线性收敛因子和采用动态加权策略,提升灰狼算法优化支持向量机惩罚因子和核函数参数的能力,并以优化的参数来建立支持向量机大坝变形预测模型。选取实例数据,在与布谷鸟算法、差分进化算法、粒子群算法、基本灰狼算法优化的支持向量机预测比较中,实验结果表明,改进的灰狼算法对支持向量机参数的优化是有效的,可以提高大坝变形预测精度。(Accurate prediction of dam deformation plays an important role in its safety evaluation. In order to further improve the prediction accuracy of dam deformation, an improved grey Wolf algorithm is proposed to optimize the prediction model of support vector machine. By introducing the nonlinear convergence factor and using the dynamic weighting strategy, the gray wolf algorithm is improved to optimize the capacity of the support vector machine penalty factor and the kernel parameter, and the support vector machine dam deformation prediction model is established with the optimized parameters. The experimental results show that the Improved Grey Wolf algorithm is effective for the optimization of support vector machine parameters, and it can improve the accuracy of the deformation prediction of the dam.)
    2018-06-28 09:53:07下载
    积分:1
  • GetHostNameIP
    一个有关获取主机名和IP地址的MFC程序,对于初学者来说很有帮助(For information about obtaining a host name and IP address of the MFC, very helpful for beginners)
    2013-08-22 10:58:23下载
    积分:1
  • 1rar
    山东大学威海分校曹老师C++期末考试试题(Shandong University at Weihai Cao teacher C++ final exam questions)
    2014-04-18 23:28:23下载
    积分:1
  • MyPrinter.tar
    说明:  调用打印驱动的头文件,将文件包含之后创建对象,调用方法(Call the header file of the print driver, create the object after the file is included, and call the method)
    2019-03-04 20:57:56下载
    积分:1
  • piksi 开源RTK GNSS
    2023-08-24 10:05:17下载
    积分:1
  • kalmanPcamshift
    基于视频的跟踪,结合卡尔曼和camshift的目标跟踪。由鼠标选中目标区域(包含了鼠标选中程序),kalman和camshift预测质心,从而达到目标跟踪。(Based opencv, combined with the target tracking Kalman and camshift. By the mouse to select the target area, kalman and centroid camshift forecast to achieve target tracking.)
    2011-06-10 18:50:47下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载