代码搜索:背包问题

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

代码结果 10,000
www.eeworm.com/read/107789/15601880

pas 约瑟夫问题.pas

PROGRAM yuesefu; VAR a,b:ARRAY [1..10000] OF integer; i,k,m,n:integer; PROCEDURE p(k,m:integer); VAR i,j:integer; BEGIN FOR i:=k+1 TO m DO b[i-k]:=a[i]; FOR i:=1 TO k-1 DO b[i+m-k]:=a[i]; FO
www.eeworm.com/read/107030/15614536

c 灯塔问题.c

//灯塔问题 #include #include #include int sz[11][11],cf=1,k,n,a[20],b[20],c[20]; void shuru(void); void shuchu(void); bool panduan(void); void goujian(void); vo
www.eeworm.com/read/107030/15614570

c 迷宫问题.c

#include #define r 64 #define m2 8 #define n2 10 int m=m2-2,n=n2-2; typedef struct { int x,y; //行列坐标 int pre; }sqtype; sqtype sq[r]; struct moved { int x, y; //坐标增量,取值-1
www.eeworm.com/read/105611/15664032

htm 小数问题.htm

Turbo C
www.eeworm.com/read/105607/15664419

htm 迷宫问题.htm

Turbo C
www.eeworm.com/read/105494/15666196

cpp 装载问题.cpp

#include class Loading { friend int MaxLoading(int w[], int c, int n, int bestx[]); private: void Backtrack(int i); int n, //集装箱数 *x, //当前解 *bestx; //当前最优解 int *w, //集装
www.eeworm.com/read/105334/15670328

txt 格式问题.txt

1、总的感觉太复杂 2、分层 1、--保证一帧数据的接收,转换Bin - ASC(低字节在前,高字节在后?),校验 2、--分组与组装 3、--命令解释(包号、帧号合并成一个命令ID?) 3、正文中有无特殊字符? 4、协议细分:PC与模块,短信两部分,短信部分可以用固定格式(每次2帧,不满用空的填,头尾就没了) ? 必须ASC ...
www.eeworm.com/read/104985/15680220

hlp c问题.hlp

www.eeworm.com/read/103194/15741500

txt 问题集锦.txt

####################################################################### # 如果需要其他支持文件,请注意查看 readme.txt 文档,谢谢! ####################################################################### # #############
www.eeworm.com/read/101253/15839310

c 灯塔问题.c

//灯塔问题 #include #include #include int sz[11][11],cf=1,k,n,a[20],b[20],c[20]; void shuru(void); void shuchu(void); bool panduan(void); void goujian(void); vo