-
Blackjack C语言实现
用C语言实现blackjack游戏
游戏规则如下(法语)
La partie oppose tous les joueurs contre la banque. Le but est de battre le croupier sans dépasser
21 (voire la valeur des cartes ci-après). Dès qu’un joueur fait plus que 21, il est éliminé de la
partie. La valeur des cartes est établie comme suit :
– de 2 à 10 : valeur nominale de la carte ;
– chaque figure : 10 points ;
– l’As : 1 point ou 11 points au choix du joueur.
Un Blackjack est composé d’un As et d’une carte ayant pour valeur 10 (10, Valet, Daome ou
Roi). Cependant, si le joueur atteint les 21 points en 3 cartes ou plus on compte 21 points et non
pas Blackjack.
Au début de la partie le croupier distribue une carte face visible à chaque joueur et tire une
- 2022-01-25 22:14:08下载
- 积分:1
-
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...
旅行商问题
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。
例如:给定4个城市{1,2,3,4}及其各城市之间的路程
最优路线是1,3,2,4,1,
其最短路程是25-a salesman, traveling salesman problem, a number of cities to sell commodities, the known distance between the city (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest. For example : given four cities (1,2,3,4) and the distance between the city optimal route is 1,3,2,4, 1, the shortest distance is 25
- 2022-03-31 13:34:20下载
- 积分:1
-
MFC下实现MD5加密
MFC下实现加密算法MD5,可以对字符串跟文件进行加密.值得一看
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
rights reserved.
License to copy and use this software is granted provided that it
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Algorithm" in all material mentioning or referencing this software
or this function.
License is also granted to make and use derivative works provided
that such works are identified as "derived from the RSA Data
Security, Inc. MD5 Message-Digest Algorithm" in all material
mentioning or referencing the derived work.
RSA Data Security, Inc. makes no representations concerning either
the merchantability of this software or the suitability of this
software for any particular purpose. It is provided "as is"
without express or implied warranty of any kind.
These notices must be retained in any copies of any
- 2022-03-04 02:53:21下载
- 积分:1
-
最近邻查找
本源码主要是提供了传统k-means算法以及利用近似k_d树算法进行加速的聚类算法。
- 2022-03-21 09:51:13下载
- 积分:1
-
用opencv分割视频和光流跟踪
分别采用背景差分和三帧差分的方法分割视频,采用经典光流法跟踪视频中运动的物体,通过角点检测相结合得到运动物体精细的轮廓
- 2023-07-28 20:00:02下载
- 积分:1
-
GTK定位源码
资源描述此源码是日本比较开源流行的一款GSLIB RTK算法完整代码,仅供参考……………………………………
- 2022-05-15 20:44:04下载
- 积分:1
-
同步控制彩灯
这是一个红外收器,以呼吸流水灯的方式来显示。直接并用市电,通过市电的工频来做时钟,这样能保证每一个并入市电的模块都有一个同时呼吸的效果。
- 2022-08-19 10:52:34下载
- 积分:1
-
大家请多指教
大家请多指教-you please enlighten!
- 2022-01-26 01:13:11下载
- 积分:1
-
Local K
Local K-means Algorithm for Colour Image Quantization
- 2022-06-11 17:22:15下载
- 积分:1
-
它把一副图片分成RGB三个通道进行显示,使用时请注意你自己的文件路径
这个是基于VC6.0+opencv1.0平台下运行的,大家打开这个文件的时候可能会感觉到程序好像有点乱,你直接复制然后粘贴到你的程序界面就可以使用了,它把一副图片分成RGB三个通道进行显示,使用时请注意你自己的文件路径
- 2022-10-11 15:40:04下载
- 积分:1