摘要:
没有想到好的算法,用回溯法给爆破了。。。public class ColorTheCells{ private int min_time; public int minimalTime(int[] dryingTime){ int len = dryingTime.length; int[] dryThen = new int[len]; int i; for(i=0;i<len;i++) dryThen[i] = 0; min_time = ... 阅读全文
摘要:
没有想到好的算法,用回溯法给爆破了。。。public class ColorTheCells{ private int min_time; public int minimalTime(int[] dryingTime){ int len = dryingTime.length; int[] dryThen = new int[len]; int i; for(i=0;i<len;i++) dryThen[i] = 0; min_time = ... 阅读全文
|