原题链接:P2240 【深基12.例1】部分背包问题
伪题解QAQ
import java.util.Arrays;
import java.util.Scanner;
class Jingzi implements Comparable<Jingzi>{
double mi,vi,junzhi;
public Jingzi(int mi,int vi) {
// TODO Auto-generated constructor stub
this.mi = mi;
this.vi = vi;