go

Java函数以计算电荷差异?

英文: Java function to calculate difference in charge? 问题 这个对象最大充电量为1000。当你先消耗100,然后再消耗1000时,第二次消耗应该返回...