int, 1 + 2 + . . . + 70,000 ==> ???
(高顯忠, sjgau4311@gmail.com, 2012-05-09 07:25)
1樓
no= 70000
sum= (1.0 + no)*(no - 1.0 + 1.0)/2.0;