Cube
Time limit2sMemory limit1024 MB
Read an integer X and print the volume of a cube with edge length X, which is X cubed.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
The volume of a cube with edge length x cm is (x × x × x) cm3.
You are given an integer X. Find the volume in cm3 of a cube with edge length X cm.
Input
Input is given from standard input in the following format.
X
Output
Print the volume in cm3 of a cube with edge length X cm, omitting the unit (cm3).
Constraints
1 ≦ X ≦ 1000.Xis an integer.