资源列表

« 1 2 ... .11 .12 .13 .14 .15 516.17 .18 .19 .20 .21 ... 653 »

[控制台(字符窗口)编程2

说明:用回溯解背包问题 假设有n件物品,定义一个结构体a[]来存储,结构体有两个成员weight和value(weight表示重量,value表示价值)先定义一个数组col[]表示每个物品当前状态(为1表示被选,为0表示未被选),其初值全为1,从下标为0开始遍历,当前所选物品总重和总价值分别设为tw和tv(初值均为0),背包的限重设为limit,若第i个物品满足tw+a[i].weight<=limit且col[i]==1 就将a[i].weight和value加入tw和tv,否则col[i]设
<STartBoy> 在 2025-06-08 上传 | 大小:176kb | 下载:0

[控制台(字符窗口)编程3

说明:关于猎人过河问题 要解决这个问题就要使过河时载两个过河,返回时尽量只有一个回来。用一个字符串数组来存猎人,狼,羊,白菜;下标依次为0,1,2,3;但他们都有河这边和那边两种状态;为方便则定义一个结构,只含一个int型变量n;当在河这边时n设为0;在河那边时n设为1。由于每次过河与返回都要考虑狼能否吃羊或羊能否吃白菜;则需要一个函数来判断每次选择是否满足条件。-Hunters across the river on the issues to resolve this issue so we sh
<STartBoy> 在 2025-06-08 上传 | 大小:150kb | 下载:0

[控制台(字符窗口)编程4

说明:表达式求值(C语言) 输入完成后直接回车进行计算 前后均不需要#-Expression evaluator (C language) input directly after the completion of return calculated both before and after do not need#
<STartBoy> 在 2025-06-08 上传 | 大小:159kb | 下载:0

[控制台(字符窗口)编程5

说明:该程序可用于计算1000以内的数的阶层 用数组处理,采用10进制进位,如果要加快速度可考虑1000进制或更高-The program can be used to calculate the number of 1000 within the class with an array of treatment, using 10 binary notation, if the speed could be considered hexadecimal 1000 or higher
<STartBoy> 在 2025-06-08 上传 | 大小:160kb | 下载:0

[控制台(字符窗口)编程Gewsh_HorseWalksCheckerBoard

说明: 使用贪婪算法解决的马踏棋盘的问题(使用简单排序和深度优先搜索的方法)-Greedy algorithm used to resolve the issue of horse riding board (using a simple sorting and depth-first search method)
<葛尧> 在 2025-06-08 上传 | 大小:178kb | 下载:0

[控制台(字符窗口)编程login

说明:实现用户登录功能,根据用户提交信息检查是否通过-User Login realize functions, based on user submitted information to check whether or not to pass
<person800> 在 2025-06-08 上传 | 大小:1.51mb | 下载:0

[控制台(字符窗口)编程Student

说明:学生管理系统,可以对学生分类进行处理学籍管理功能,同时能增加减少人数-Student management system that can deal with the classification of students in school management functions, at the same time can increase to reduce the number of
<zhangmingyuan> 在 2025-06-08 上传 | 大小:613kb | 下载:0

[控制台(字符窗口)编程s

说明:用vc开发快速Fourier变换原理及其应用实例源代码-Vc development with the principle of fast Fourier transform and its application source code
<luckcome19825> 在 2025-06-08 上传 | 大小:443kb | 下载:0

[控制台(字符窗口)编程workspace

说明:我的练习代码.是一些关于C++编程技巧的练习.-My practice code. Is the number of C++ Programming skills practice.
<> 在 2025-06-08 上传 | 大小:1.74mb | 下载:0

[控制台(字符窗口)编程contrlIndistance

说明:vb远程控制代码,用了winsock来控制,实现了一些控制,供大家学习 -vb remote control codes, using the winsock control to achieve a number of control for them to learn from
<mm> 在 2025-06-08 上传 | 大小:105kb | 下载:0

[控制台(字符窗口)编程JDTT

说明:一个很好用的控制台程序能把word文件转变成为文本文档。-A very good console process can use word document into a text document.
<Jonathan L> 在 2025-06-08 上传 | 大小:37kb | 下载:0

[控制台(字符窗口)编程Apriori

说明:Apriori算法源码,在vc++6.0环境下运行,编译,有操作界面-Apriori algorithm source code, in vc++ 6.0 environment to run, compile, there are user interface
<魏新> 在 2025-06-08 上传 | 大小:2.48mb | 下载:0
« 1 2 ... .11 .12 .13 .14 .15 516.17 .18 .19 .20 .21 ... 653 »

源码中国 www.ymcn.org