diff --git a/codes/java/chapter_greedy/max_product_cutting.java b/codes/java/chapter_greedy/max_product_cutting.java index bdc27c66..1d916451 100644 --- a/codes/java/chapter_greedy/max_product_cutting.java +++ b/codes/java/chapter_greedy/max_product_cutting.java @@ -35,6 +35,6 @@ public class max_product_cutting { // 贪心算法 int res = maxProductCutting(n); - System.out.println("最大切分乘积为" + res); + System.out.println("最大切分乘积为 " + res); } }