登录
首页 » 算法 » stable matching

stable matching

于 2023-02-04 发布 文件大小:112.32 kB
0 180
下载积分: 2 下载次数: 1

代码说明:

简单的稳定匹配算法实现,无bug Implement Gale-Shapley algorithm of the Stable Matching Problem in your favorite language, and give the matching result of attached ranking data (boys rankings.txt and girls rankings.txt), supposing that the ranking is sorted from high to low. (C++ source file gs make ranking.cc which generates the data is also supplied here.)  

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

发表评论

0 个回复

  • 文件MD5 生产
    char *MD5_file (char *path, int md5_len)   {       FILE *fp = fopen (path, "rb");       MD5_CTX mdContext;       int bytes;       unsigned char data[1024];       char *file_md5;       int i;          if (fp == NULL) {           fprintf (stderr, "fopen %s failed ", path);           return NULL;       }          MD5Init (&mdContext);       while ((bytes = fread (data, 1, 1024, fp)) != 0)       {           MD5Update (&mdContext, data, bytes);       }       MD5Final (&mdContext);              file_md5 = (char
    2022-07-11 22:12:17下载
    积分:1
  • Enigma密码实现的清晰的语言原则…
    密码学中 enigma算法的 c语言实现 原理清晰-Enigma cryptography algorithm implementation of the principles of clear language c
    2022-08-03 13:35:20下载
    积分:1
  • 一个VC++生成DElaunay三焦网的简洁易懂的代码,提供可变随机点数目。...
    一个VC++生成DElaunay三焦网的简洁易懂的代码,提供可变随机点数目。-A VC++ Generate Delaunay Sanjiao network easier to understand the code, providing a variable number of random points.
    2023-05-11 16:55:04下载
    积分:1
  • source code
    表达式解析源代码-source code
    2022-04-12 17:57:39下载
    积分:1
  • 这是在高高的GPU
    也就是说你在使用 SVM OSU_3.00工具箱要在Matalab软件的界面下进行使用,可以实现SWM的数据分类和回归拟合功能 -In other words you are using SVM OSU_3.00 Toolbox Matalab software to use interface, you can realize SWM data classification and regression fitting function
    2022-02-02 11:01:14下载
    积分:1
  • Simulation of a WCDMA FDD Downlink transmission
    The WCDMA Physical Layer Demo consists of an end-to-end (transmitter-to-receiver) simulation of the Frequency Division Duplex (FDD) Downlink physical layer for several Dedicated Channels (DCH) as specified by the 3GPP standard (Release 99). The current ZIP file includes three different models: channel coding, spreading an
    2022-08-20 13:06:40下载
    积分:1
  • 飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量...
    计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量-Calculation of the spacecraft relative position vector of the station unit vector in the equatorial coordinate system of the three subscales
    2022-01-31 02:49:56下载
    积分:1
  • DES(C语言实现)
    资源描述void show2() //加密界面 {  printf(" ****************** DES加密 ********************** ");  printf(" -------------------------------------------------- ");  printf(" ************************************************** ");  printf(" ** ** ");  printf(" ** 请选择明文和密钥的输入方式: ** ");  printf(" ** ** ");  printf(" ** 1.直接输入 ** ");  printf(" ** ** ");  printf(" ** 2.从文件读取 ** ");  printf(" ** ** ");  printf(" ** 3.退出 ** ");  printf(" ** ** ");  printf(" -------------------------------------------------- ");  printf(" 选择:"); }
    2023-01-01 21:25:03下载
    积分:1
  • 一个Huffman的例子
    一个Huffman的例子--A Huffman example
    2022-08-19 09:15:43下载
    积分:1
  • 基于图像的数独求解
    这是基于图像的数独求解。 其用途 OCR 技术,以识别字母和数字,分离各个环节并确定哪个号码是在它,如果什么都不是 int,这意味着它是零,一个矩阵 9 × 9 时充分解决数独,基于一个函数来返回解决数独矩阵。
    2023-04-26 21:15:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载