资源列表
[数据结构常用算法] 1
说明:利用贪心策略解决背包问题。现有载重为M公斤的背包和n种货物。第i种货物的重量为Wi,它的总价值为Pi,假定M、Wi、Pi均为整数。设计程序给出装货方法,使装入背包的货物总价值达到最大。-Greedy strategy to solve the knapsack problem using. Current load of M kg backpack and n kinds of goods. First i kind of cargo weight Wi, its total value of<00> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[Windows编程] 3
说明:设计实现超市收银程序,假设顾客在超市购买各种商品,来到收银台结账,收银员具有面值为100,20,10,5和1元的纸币和各种面值为5角、2角、1角的硬币。设计程序计算顾客各种所买商品的钱数,并根据顾客所付的钱数输出零钱的数目及要找的各种货币的数目。-Design and Implementation of the supermarket cash register program, assuming the customer in the supermarket to buy various go<00> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[单片机(51,AVR,MSP430等)] iso_14443_type_b
说明:ISO14443B操作源代码,调试通过,可正常使用!-ISO14443B operating source code, debugging through, you can normally use!<evan gong> 在 2025-06-23 上传 | 大小:1kb | 下载:0
[单片机(51,AVR,MSP430等)] LCD_TEMPERATURE
说明:用DS18B20采样温度,并且利用LCD1602进行实时显示。结构化编程,过程清晰,值得参考。-DS18B20 sampling with temperature, and real-time using LCD1602 display. Structured programming, the process clear and worth considering.<junli> 在 2025-06-23 上传 | 大小:1kb | 下载:0