Cube Numbers

Question 1:

10 3
1000

Question 2:

1 3
1

Question 3:

8 3
2

Question 4:

125 3
5