考级202212-4:整数的立方和
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.
题目描述
给定一个正整数k(1<k<10),求1到k的立方和m。m=1+2 * 2 * 2+…+k * k * k。
输入格式
输入只有一行,该行包含一个正整数k。
输出格式
输出只有一行,该行包含1到k的立方和。
输入样例数据 1
5
输出样例数据 1
225
数据范围与提示
1<k<10
一级第7轮
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 5
- Start at
- 2023-7-29 8:00
- End at
- 2023-8-19 4:00
- Duration
- 500 hour(s)
- Host
- Partic.
- 15