112+113+114+115+116+117最快的算法

问题描述:

112+113+114+115+116+117最快的算法

(首相+末相)*相数/2
(117+ 112)* 6 /2=687

112+113+114+115+116+117
=(112+117)*3
=229*3
=687

(117+112)*6/2=229*3=687