【深基4.例11】数列求和
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
计算 的值,其中正整数 不大于 100。由于你没有高斯聪明,所以你不被允许使用等差数列求和公式直接求出答案。
输入格式
输入一个正整数 。
输出格式
输出一个正整数,表示最后求和的答案。
100
5050
提示
数据保证,。