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