摘要: 1 package Test; 2 import java.util.*; 3 public class Solution { 4 5 public static int jisuan(int W,int[] wei,int [] val,int n) 6 { 7 int i,w; 8 int[][] K=new int[... 阅读全文
posted @ 2019-07-05 14:59 王爷爱吃秋刀鱼 阅读(108) 评论(0) 推荐(0) 编辑
摘要: class Solution {//比较简单的动态规划题 public int uniquePaths(int m, int n) { int[][] dp =new int[m][n]; for(int i=0;i<=m-1;i++) { for(int j=0... 阅读全文
posted @ 2019-07-05 11:24 王爷爱吃秋刀鱼 阅读(88) 评论(0) 推荐(0) 编辑