异常:
小心除数不能为0奥。不然就会抛出异常
int maxWeight = MaxValue(alWeight);
smallHeight = ((alWeight[i] * intMaxHeight) / maxWeight); //每根柱子的高度
小心除数不能为0奥。不然就会抛出异常
int maxWeight = MaxValue(alWeight);
smallHeight = ((alWeight[i] * intMaxHeight) / maxWeight); //每根柱子的高度