mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 01:36:29 +08:00
Update max_product_cutting.java (#647)
This commit is contained in:
parent
17f995b432
commit
41db3701ab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue