mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-03 21:58:48 +08:00
Update max_product_cutting.java (#647)
This commit is contained in:
@ -35,6 +35,6 @@ public class max_product_cutting {
|
|||||||
|
|
||||||
// 贪心算法
|
// 贪心算法
|
||||||
int res = maxProductCutting(n);
|
int res = maxProductCutting(n);
|
||||||
System.out.println("最大切分乘积为" + res);
|
System.out.println("最大切分乘积为 " + res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user