class Solution { public: int Sum_Solution(int n) { return (long(1)+n)*n/2; } };
posted on 2017-03-01 01:24 123_123 阅读(113) 评论(0) 编辑 收藏 举报