代码搜索:背包问题
找到约 10,000 项符合「背包问题」的源代码
代码结果 10,000
www.eeworm.com/read/469837/6927499
opt 二josephu问题.opt
www.eeworm.com/read/469837/6927500
plg 二josephu问题.plg
Build Log
--------------------Configuration: 二josephu问题 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\AD
www.eeworm.com/read/466938/7023905
ppt 最短路问题.ppt
www.eeworm.com/read/466339/7033993
cpp n皇后问题.cpp
#include
using namespace std;
/*
解空空间是完全N叉树
x[i]表示第i个皇后放在第i行的第x[i]列
*/
class Queen
{
friend int nQueen(int);
private:
bool Place(int k);
void Backtrack(int t);
int n;
//皇后个
www.eeworm.com/read/466404/7034710
cpp 矩阵连乘问题.cpp
#include
using namespace std;
/*
给定n个矩阵{A1,A2,...,An},其中Ai与Ai+1是可乘的,i = 1,2...,n-1。我们
要计算出这n个矩阵的连乘积A1A2...An。
*/
/*
分析最优子结构:
设计求解具体问题的动态规划算法的第一步是刻画该问题的
最优结构的特征。为方便,将矩阵连乘AiAi+1...Aj简
www.eeworm.com/read/464626/7066706
pps 优化问题实验.pps
www.eeworm.com/read/462878/7193811
txt mac地址问题.txt
wince中的MAC地址是在驱动中写死的。如果不修改会造成一些网络方面的功能故障。比如不能互ping
1.添加如下注册表
[HKEY_LOCAL_MACHINE\Comm\CS8900\Parms]
"MAC12"=dword:3322
"MAC34"=dword:5544
"MAC56"=dword:0F66
2.修改CS8900驱动
在CS89
www.eeworm.com/read/461485/7226807
txt 八皇后问题.txt
#include
#include
using namespace std;
const int N = 30;
int x[N];
int ok[N];
double Randomf0_1() //产生0-1之间的浮点数
{
return ((rand()%1000)*0.001);
}
int Random
www.eeworm.com/read/459833/7264191
doc matlab优化问题.doc
www.eeworm.com/read/458688/7291303
txt n皇后问题.txt
//#include "stdafx.h"
#include
#define M 6
char chessboard[M][M];
int QueenPlace(int LocX,int LocY);
int N_Queens(int LocX,int LocY,int Queens)
{
int i,j;
int Result = 0;
if(Queen