登录
首页 » 算法 » 打牌游戏

打牌游戏

于 2022-09-27 发布 文件大小:6.06 kB
0 190
下载积分: 2 下载次数: 1

代码说明:

打牌游戏:牌只有1到9,手里拿着已经排好序的牌a,对方出牌b,用程序判断手中牌是否能够压过对方出牌。 

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

发表评论

0 个回复

  • 自己编的一个求无约束最优化解的单纯形
    自己编的一个求无约束最优化解的单纯形-themselves for a series of unconstrained optimal resolve Simplex
    2022-05-06 19:27:18下载
    积分:1
  • 示例随机数产生方,符合平均分部和正态分部,示波器显示...
    示例随机数产生方法,符合平均分部和正态分部,示波器显示-random sample method, in line with the average Division and the normal divisions, oscilloscope shows
    2022-03-18 18:29:51下载
    积分:1
  • tetstetesfdafesafds
    tetsdftetsdftetsdftetsdftetsdftetsdftetsdftetsdff公司
    2022-11-12 12:25:06下载
    积分:1
  • fast Ica matlab,经过试验验证了,希望对大家有用处
    fast Ica matlab算法,经过试验验证了,希望对大家有用处-fast algorithm, the test after test, we hope to be useful
    2023-07-30 05:00:03下载
    积分:1
  • 红黑树的C++实现
    红黑树的C++实现,包括红黑树的插入,删除,左右旋转等操作,还包括了二叉树的基本操作(用于红黑树的实现)。
    2022-03-14 12:23:01下载
    积分:1
  • Prolog实现8-puzzle
    he 8-puzzle will be represented by a 3x3 list of lists positions where the empty box will be represented by the value 9, as shown below: [[9,1,3],[5,2,6],[4,7,8]] Possibility Solution: Only half of the initial positions of the 8-puzzle are solvable. There is a formula that allows to know from the beginning if you can solve the puzzle.To determine whether an 8-puzzle is solvable, for each square containing a value N is calculated how many numbers less than N there after the current cell. For example, to the initial status
    2023-07-26 11:40:02下载
    积分:1
  • 双色、三色河内塔
    无论是双色河内塔或是三色河内塔,其解法观念与之前介绍过的河内塔是类似的,同样也是使用递回来解
    2022-03-23 16:29:55下载
    积分:1
  • 遗传代码
    《optimization using nondominated sorting genetic algorithms》的论文中提出的。该算法在快速找到Pareto前 沿和保持种群多样性方面都有很好的效果,不过在这么多年的应用中也出现了如下的一些问题: 1。非支配排序的时NSGA2主要是对NSGA算法的改进。NSGA是N. Srinivas 和 K. Deb在1995年发表的一篇名为 《Multiobjective function间复杂的很大,为O(MN3)。其中M为目标函数的数量,N为种群规模。 2。不支持精英策略。精英策略在保持好的个体及加速向Pareto前沿收敛方面都有很好的表现。 3。需要自己指定共享参数。该参数将对种群的多样性产生很大的影响。 NSGA2算法将在以下方面进行改进: 1。快速的非支配排序     在NSGA进行非支配排序时,规模为N的种群中的每个个体都要针对M个目标函数
    2022-02-02 20:48:20下载
    积分:1
  • 详细对一般字符串表达式解析,可进行常规的表达式操作
    详细对一般字符串表达式解析,可进行常规的表达式操作-Detailed analysis of the general string expression, it can conduct regular expression operator
    2022-12-09 20:30:02下载
    积分:1
  • 两个矩阵相乘的源程序,通过更改可以改成类或制作模板...
    计算两个矩阵相乘的源程序,通过更改可以改成类或制作模板-Calculation of two matrices of the source code can be changed by changing the type or make a template
    2023-03-27 00:05:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载