update at 2022-03-07 07:37:20 by ehlxr

master
ehlxr 2022-03-07 07:37:20 +08:00
parent 3c8752be70
commit 4c3ee5fcf4
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class MinDist {
private int minDist = Integer.MAX_VALUE; // 全局变量或者成员变量
/**
*
*
*/
public int minDistDP(int[][] matrix, int n) {
int[][] states = new int[n][n];
@ -62,7 +62,7 @@ public class MinDist {
}
/**
*
*
*/
public int minDist(int i, int j) { // 调用minDist(n-1, n-1);
if (i == 0 && j == 0) {