#2698. 第四章:for循环结构《练习4:求s=11+22+33+..+nn 》

第四章:for循环结构《练习4:求s=11+22+33+..+nn 》

题目描述

输入一个整数n,求s=11+22+33+..+nn  (n<=9)

样例

样例 1

输入:

2

输出:

33