搜索资源列表
0-1beibao
- 01背包问题题目 有N件物品和一个容量为V的背包。第i件物品的费用是c[i],价值是w[i]。求解将哪些物品装入背包...但它却是另一个重要的背包问题P02最简捷的解决方案,故学习只用一维数组解01背包问题是十分必要的。
ChristianHolidays
- It describes a method in C++ and I needed the code in C#. I then realized that Easter is not the only Christian holiday that can be calculated. Some are directly related to Easter, others are related to Christmas. I therefore created a simple C# clas
Floyd-Warshall-c-chengxi
- Floyd-Warshall算法描述 1)适用范围: a)APSP(All Pairs Shortest Paths) b)稠密图效果最佳 c)边权可正可负 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:=dis[I,k]+dis[k,j] c)算法结
Visual C++ MFC 入门教程
- Visual C++ MFC 入门教程,我觉得还可以-MFC Visual C Directory entry, I felt that I could
3D
- 实现了3D正方体的旋转. 本程序可用鼠标及键盘控制,鼠标左键即一个虚拟跟踪球,右键可以调用菜单。 键盘控制键分别为:0-7数字键,b,c,i,m,p,r,w
c
- c++冒泡排序#include \"stdio.h\" void sort() { int i,count=0,a[20] int k=20 printf(\"please input 20 defferent numbers?\\n\") for(i=0 i<20 i++) scanf(\" %d\\a\",&a[i]) while(count<20) { for(i=0 i<k i++)
Exocortex.Geometry3D
- For my fourth year computer graphics course I wrote a little 3D engine using C# and the .NET platform. I decided to go this route as opposed to the C++ route that everyone else took in the course because I wanted to see whether C# lived up to it s hy
0x36-assabuse.c
- this a l33t 0x36 0day exploit by Matrix_DK :) This should give root, i give root to by the way,on all BSD systems with abuse installed.
c++4
- 有一行电文, 已按下面规律译成了密码: A――>Z a――>z B――>Y b――>y C――>X c――>x ……….. ……….. 即第 1 个字母变成第 26 个字母, 第 2 个字母变成第 25 个字母, 第 i 个 字母变成第 (26-i+1) 个字母, 非字母字符时不变。 要求编出程序, 将密码还原成原文, 并输出原文到文件 decode.txt */
C++Examples.ZIP
- These are the exact same examples as Dejan s Delphi examples. The .DFM files are in fact the same files. Since C++ Builder does not always upgrade projects well, so I enclosed separate projects for C++ Builder 3, 4 and 5.
DF
- 问题描述 设有n种不同面值的硬币,各硬币的面值存于数组T[1:n]中。现要用这些面值的硬币来找钱,可以实用的各种面值的硬币个数不限。当只用硬币面值T[1],T[2],…,T[i]时,可找出钱数j的最少硬币个数记为C(i,j)。若只用这些硬币面值,找不出钱数j时,记C(i,j)=∞。 编程任务 设计一个动态规划算法,对1≤j≤L,计算出所有的C( n,j )。算法中只允许实用一个长度为L的数组。用L和n作为变量来表示算法的计算时间复杂性 数据输
INTERNETidentityofnewprogrammes
- 本书提供了成为一名 C i s c o认证网络从业人员( C C N A )所需的信息。 一个潜在的 C C N A必须具有安装、配置和操作简单路由 L A N、路由WA N和交换L A N以及L A N E网络的知识。 这是学习知识冒险经历的开始。本书可以作为参考和学习工具,它们可以使一个工程师 达到互连网专家的高度。
我的程序 C++的
- 是一个队列的程序吧 还是个链表 忘记了 不好意思 我是第一次发程序 可能不是很好-Queue is a procedure it is still Chain sorry, I forgot this is the first time the procedure may not be very good
C++_200array
- vc++ 我们的作业,包含加减乘除、大小比较、及求余。 (上一个传错了)!-vc our operations, including arithmetic, the size, and I seek. (1-on the wrong)!
Visual C#实现网络点对点通讯程序
- 点对点通讯工具,本人自编。-peer-to-peer communication tools, I directed.
redgreen
- 可编程并行接口8255A完成的交通灯实验 用8255A的B端口和C端口控制12个LED的亮和灭(输出为0则亮,输出为1则灭),模拟十字路口的交通灯。 -programmable parallel interface 8255A completed, the traffic lights experimental 8255A port B and C - I control 12 LED bright and methomyl (output of 0-liang, the output of
paixu1
- 已知记录序列a[1..n] 中的关键字各不相同, 可按如下所述实现计数排序:另设数组c[1..n],对每 个记录a[i], 统计序列中关键字比它小的记录个数存 于c[i], 则c[i]=0的记录必为关键字最小的记录,然 后依c[i]值的大小对a中记录进行重新排列,试编写算 法实现上述排序方法。
plan
- 一、问题的提出: 某厂根据计划安排,拟将n台相同的设备分配给m个车间,各车间获得这种设备后,可以为国家提供盈利Ci j(i台设备提供给j号车间将得到的利润,1≤i≤n,1≤j≤m) 。问如何分配,才使国家得到最大的盈利L 二.算法的基本思想: 利用动态规划算法的思想,设将i台设备分配给j-1个车间,可以为国家得到最大利润Li (j-1)(1≤i≤n,1≤j≤m),那么将这i台设备分配给j个车间,第j个车间只能被分配到0~i台,所以我们只要算出当第j个车间分配到t(0<=
PEChangeCode
- This project will never be finished because the code is lame and i m working on my import rebuilder. Sorry if i missed some comments and if it s not written in pure C++ (i mean in REAL Object).
CppReference
- CppReference 对于c/c++的详尽说明 C/C++ Reference General C/C++ Pre-processor commands Operator Precedence Escape Sequences ASCII Chart Data Types Keywords Standard C Library Standard C I/O Standard C String & Character