摘要: #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 阅读全文
posted @ 2012-11-15 01:31 ﹏Sakura 阅读(189) 评论(0) 推荐(0) 编辑