代码搜索:背包问题
找到约 10,000 项符合「背包问题」的源代码
代码结果 10,000
www.eeworm.com/read/465601/7050103
dsp 背包.dsp
# Microsoft Developer Studio Project File - Name="背包" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Consol
www.eeworm.com/read/465601/7050104
ncb 背包.ncb
www.eeworm.com/read/465601/7050106
dsw 背包.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/465601/7050107
cpp 背包.cpp
#include
int S,log,m=0;
typedef struct
{
int add;
int weight;
int last;
}result;
result bag[2000];
result temp;
void push(int a,int b)
{
temp.weight=a+b;
}
www.eeworm.com/read/465601/7050108
opt 背包.opt
www.eeworm.com/read/465601/7050109
plg 背包.plg
Build Log
--------------------Configuration: 背包 - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\DOCUME~1\ADMINI~1\L
www.eeworm.com/read/474351/6821140
cpp 背包.cpp
#include
void search(int);
void checkmax();
int w[10],v[10]; //w[i]、v[i]:第i件物品的重量和价值
int a[10],max=0; //a数组存放当前解各物品选取情况;max:记录最大价值
int c,n; //c:背包容量;n:
www.eeworm.com/read/193089/8254037
dsp 背包.dsp
# Microsoft Developer Studio Project File - Name="背包" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Consol
www.eeworm.com/read/193089/8254055
ncb 背包.ncb
www.eeworm.com/read/193089/8254063
dsw 背包.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################