-
哈夫曼树的c++实现
实验说明
实验所用英文文本为 /HaffmanfT 下的a.txt文件,原文为:
South Korea’s top court ruled on Thursday that Japan’s Mitsubishi Heavy Industries Ltd must compensate 28 South Koreans for their forced labor during World War Two, a ruling that drew an immediate rebuke from Tokyo.
The decision echoed the Supreme Court’s landmark verdict last month that ruled in favor of South Koreans seeking compensation from Japan’s Nippon Steel & Sumitomo Metal Corp. for their wartime forced labor.
The court upheld a 2013 appeals court decision that Mitsubishi must pay 80 million won ($71,000) to each of the 23 plaintiffs in compensation.
In a separate
- 2023-04-18 18:05:04下载
- 积分:1
-
Eight-Digital
说明: 八数码 对任意数字序列重新排序 高级散列函数 MFC基础编程(Eight Digital
Reorder the sequence of any number
Senior hash function
MFC based programming)
- 2011-04-11 16:31:59下载
- 积分:1
-
2 找出最大值
说明: c语言是很多编程软件的基础,找最大值,也是C语言运用中的一大关键因素(C language is the basis of many programming software, to find the maximum value, is also a key factor in the use of c language)
- 2020-06-21 12:00:02下载
- 积分:1
-
BOLB
这是一个采用OLE DB编程处理的上传BLOB类型的二进制数据到数据库的一个实例,实例中使用的BLOB是图片。()
- 2008-04-08 10:22:17下载
- 积分:1
-
ENVELOP_ADO
封装的ADO访问所有数据库的代码,大家不要将时间浪费在编程上了(Packaging visit all the ADO database code, we should not be wasting time on the program)
- 2007-05-18 22:38:03下载
- 积分:1
-
TSP
Traveling Salesman Problem
市场上有很多种商品,旅行商 Shrek 做短期买卖赚取差价。他从一个城市购买一件商品,到达下一个相邻的城市就卖掉。如果这一次买卖无利可图,那么他就不会这么走。凭着自己和同伴多年的经验,他已经对地图上 n 个城市之间的差价了如指掌。两城市间可能有多种商品可赚取差价,此时 Shrek 只好倒卖利润最大的一件商品。
现在请你帮 Shrek 规划一条路线,使他能赚最多的钱。
输入
第一行两个整数 n、m。表示有 n 个城市,编号 1 ~ n
接下来有 m 行,每行三个整数 a、b、price,表示从城市 a 到城市 b 可赚取差价 price。
输出
若干空格分隔的整数,连成一条赚钱最多的路线。若有多条,输出字典序最小的那条路线(编号小的城市靠前的路线优先输出)
输入样例
4 4
2 1 5
1 3 3
3 4 1
1 4 5
输出样例
2 1 4(Traveling Salesman Problem)
- 2020-12-05 13:59:23下载
- 积分:1
-
代码
华中科技大学数据结构书籍的源代码,从第一章到第十一章都有(The source code of the data structure books of Huazhong University of Science and Technology is available from Chapter 1 to Chapter 11.)
- 2019-04-19 10:08:33下载
- 积分:1
-
stm32_DMA_ADC1 6通道数据采集,串口输出
最近两天在弄stm32 ADC多路信号采集,主要是采集遥控器摇杆、电位器等的多路信号,经过思考,觉得还是使用DMA方式比较方便,程序现在已经调通,采集6通道的数据,然后通过串口1打印出来,希望能给新手一些帮助。
- 2023-03-09 19:05:04下载
- 积分:1
-
MyQueue
简单的队列实现,从中可以学习到怎样实现队列的算法编程(Simple queue implementation, from which you can learn how to achieve the queue algorithm programming)
- 2013-07-24 19:50:13下载
- 积分:1
-
c# 插件化开发框架 源码下载
c# 插件化开发框架 源码下载
- 2014-06-07下载
- 积分:1