摘要:
#include <stdio.h>#define MAX 100 //最多种类数int current[MAX];int opt[MAX];int t;double totalV;double totalW;double MaxValue;struct{ double value; double weight;}goods[MAX];void checkout(int i,double tw,int totalValue);void main(){ int i; double value,weight; printf("请输入类别个数"); scanf(&qu 阅读全文