?? knapsack.h
字號:
#define MAXSIZE 26
#define CAPACITY 500
typedef struct{
int Weight[MAXSIZE+1];
int Value[MAXSIZE+1];
int Capacity;
}KNAPSACK;
typedef struct{
int weight;
int value;
}ITEM;
static int BestValue=0;
static int Xi[MAXSIZE+1];
static int CurrentXi[MAXSIZE+1];
static int CurrentWeight=0;
static int CurrentValue=0;
static KNAPSACK knapsack;
void KnapsackByExhaustion(int);
void InitKnapsack();
void PrintKnapsackInfo();
void PrintSelect();
void PrintTitle(char *);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -