100 atcoder#ABC159C. [ABC159C] Maximum Volume
[ABC159C] Maximum Volume
Score : points
Problem Statement
Given is a positive integer . Find the maximum possible volume of a rectangular cuboid whose sum of the dimensions (not necessarily integers) is .
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the maximum possible volume of a rectangular cuboid whose sum of the dimensions (not necessarily integers) is . Your output is considered correct if its absolute or relative error from our answer is at most .
3
1.000000000000
For example, a rectangular cuboid whose dimensions are , , and has a volume of .
On the other hand, if the dimensions are , , and , the volume of the rectangular cuboid is , which is greater.
999
36926037.000000000000