代码搜索:背包问题

找到约 10,000 项符合「背包问题」的源代码

代码结果 10,000
www.eeworm.com/read/159248/10675782

cpp 最优合并问题.cpp

#include #include #include #include //定义一个最小堆的模板类 template class MinHeap { private: int currentSize,maxSize; Type *heap;
www.eeworm.com/read/159248/10675786

txt 最优合并问题.txt

最优合并问题 给定K个排好序的序列s1,s2,...,sk,用2 路合并算法将这k个序列合并成一个序列。 假设所采用的2路合并算法合并2个长度分另为m 和n的序列需要m+n-1次比较。试设计一个算法确定合并这个序列的最优合并顺序,使所需的总比较次数最少。
www.eeworm.com/read/159247/10675790

txt 最佳调度问题.txt

最佳高度问题。 问题描述: 假设有n个任务由K个可并行工作的机器完成。完成任务i需要的时间为t(i)。试设计一个算法找出完成这n个任务的最佳调度,使得完成全部任务的时间最早。
www.eeworm.com/read/159247/10675794

cpp 最佳调度问题.cpp

#include #include //#include int tan(int n,int k); void back(int i,int last); void QuickSort(int a[],int p,int r); int Partition(int a[],int p,int r); const i
www.eeworm.com/read/159246/10675805

doc 半数集问题.doc

www.eeworm.com/read/158974/10705767

cpp d 森林问题.cpp

#include void main() { //读数 ifstream inf("input.txt"); ofstream outf("output.txt"); long number=0,i=0,j=0; inf>>number; struct node { long childnum; long fnode;
www.eeworm.com/read/276746/10710870

cpp 图像压缩问题.cpp

//图像压缩问题 #include #include #include #define N 100 int s[N], l[N], b[N]; int length(int n) { int k=0; while(n>0) { k++; n/=2; } return k; }
www.eeworm.com/read/276471/10735757

txt 常见问题.txt

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ 烁空,一切尽在 www.socut.com ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 我们每天都在思考这套系统的优化和设计方案。如果您有新的功能和想法,请联系我们,谢谢! 欢迎购买商业版,因为只有商业用户的支持,我 ...
www.eeworm.com/read/276451/10736807

ppt 2章-问题.ppt

www.eeworm.com/read/276181/10758068

txt 编程汉字问题.txt

/* 本程序为Windows下的控制台程序,需MFC的支持(否则不能通过编译) * 执行时带一个参数,指定要打开的文件;以每行10个字符(每个中文字符算一个字符), * 最后一行可能不足10个。另外如'\n','\t'等字符可能改变打印格式。 */ #include #include int main(int argc, c