f(n)=n^2^+2 ,计算 f(1)+f(2)+… +f(n) 的值
一个正整数n
一个正整数表示答案
1
3
注册一个 HydroOJ 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 HydroOJ 通用账户