思路. 判断是否可以组成三角形,即任意两边相加大于第三边。本题最简单 ... length;i++){ int c = getMax(nums); if((b+c)>a){ return a+b+c; } else ...
確定! 回上一頁