Core Drill

View as PDF

Submit solution

Points: 2
Time limit: 2.0s
Memory limit: 128M

Author:
Problem type

Problem taken from DMOJ

Simon got a new drill recently. Everyone knows that a drill is shaped like a right circular cone. Simon knows his drill has radius r and height h, But now he wants to calculate the volume. Write a program to help Simon!

Note: The formula for the volume of a cone is V=\frac{\pi r^2h}{3}

Input Specification

The first line of input will have an integer r(1 \le r \le 100).

The second line of input will have an integer h(1 \le h \le 100).

Output Specification

The first line of output should have the volume of Simon's drill. Ensure that you are using \pi = 3.14, otherwise your solution will be marked wrong.

Sample Input

3
5

Sample Output

47.1

Comments

There are no comments at the moment.