登录
首页 » 算法 » 放苹果-递归算法

放苹果-递归算法

于 2022-01-25 发布 文件大小:348.66 kB
0 178
下载积分: 2 下载次数: 1

代码说明:

用递归算法求解把m个苹果放入n个盘子总共有多少种放法。很简单的程序,从屏幕输入两个参数, 一个为苹果个数,第二个为盘子个数。然后enter返回结果。

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

发表评论

0 个回复

  • 简单程序
    单纯型法程序算法-simple algorithm Act procedures
    2022-01-26 02:39:26下载
    积分:1
  • 1维和2维快速傅里叶变换,网上广为流传的英文版本
    1维和2维快速傅里叶变换,网上广为流传的英文版本-1-D and 2-D Fast Fourier Transform, Perform a 2D FFT inplace given a complex 2D array
    2022-08-05 10:57:43下载
    积分:1
  • VC++实现简单pcm混音
    VC++平台,利用混音算法,实现简单的两路wave文件pcm混音,不支持文件重采样,要求两个文件格式一样,参考原理,自己可扩展到多路混音
    2022-03-24 18:56:44下载
    积分:1
  • 基于PLC 的温控系统设计与研究 Des ign
    资源描述摘要:介绍了用罗克韦尔PLC 设备构成温控系统的设计与研究, 讨论了PLC 输入输出控制的外部接口及显示扩展的软硬件 设计, 并对PLC 和PC 的通信和数据技术进行了分析, 给出了部分程序。 关键词:PLC;温度控制;热电阻模块;通信
    2023-03-23 12:25:03下载
    积分:1
  • OFELI is an object oriented library of C++ classes for development of finite ele...
    OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are : * Various storage schemes of matrices (dense, sparse, skyline). * Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners. * Shape functions of most "popular" finite elements * Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).-OFELI is an object oriented library of C++ classes for development of finite element codes. Its main features are :* Various storage schemes of matrices (dense, sparse, skyline).* Direct methods of solution of linear systems of equations as well as various combinations of iterative solvers and preconditioners.* Shape functions of most "popular" finite elements* Element arrays of most popular problems (Heat Transfer, Fluid Flow, Solid Mechanics, Electromagnetics, ...).
    2022-02-27 06:26:31下载
    积分:1
  • 禁忌搜索的例子程序求解Tsp问题
    禁忌搜索算法的例子程序求解Tsp问题- The taboo search algorithm example procedure solves the Tsp question
    2023-04-11 18:30:04下载
    积分:1
  • kmeans聚类java实现
    应用背景package Kmeans; import java.io.BufferedReader; import java.io.FileReader; import java.util.ArrayList; public class KMeans { private static String fileName = "E:java练习Arithmeticjulei1.txt"; // 文件地址 private static int numTotal; // 聚类总数 private static int K; // 聚类的簇数关键技术典型的聚类算法,应用广发,学习简单,java技术的使用
    2022-02-01 21:05:33下载
    积分:1
  • 使用Chebyshev 多项式进行数值拟合的
    使用Chebyshev 多项式进行数值拟合的算法-use of Chebyshev polynomials numerical fitting algorithm
    2023-02-09 23:00:04下载
    积分:1
  • Part of the answer on the ACM topic
    一部分关于ACM题目的解答 -Part of the answer on the ACM topic
    2023-09-04 15:35:04下载
    积分:1
  • 实数DE代码
    很实用的实数差异演化(DE)算法,实用类实现的,里面有几种不同的变异方案。
    2022-03-23 14:07:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载