随笔分类 -  others

摘要:1 public int DP(int[] stamp,int sum){ 2 int maxValue =0; 3 for(int v :stamp){ 4 maxValue = Math.max(maxValue, v); 5 } 6 int values []= new int[maxValue+1]; 7 values[0]=0; 8 for(int request=1;request dp){ 2 3 if(target==0) ... 阅读全文
posted @ 2014-03-02 08:35 krunning