Problem:


Score : 300 points

Problem Statement

Given is a positive integer L.
Find the maximum possible volume of a rectangular cuboid whose sum of the dimensions (not necessarily integers) is L.

Constraints

1 ≤ L ≤ 1000

L is an integer.

Input

Input is given from Standard Input in the following format:

L

Output

Print the maximum possible volume of a rectangular cuboid whose sum of the dimensions (not necessarily integers) is L.
Your output is considered correct if its absolute or relative error from our answer is at most 10^{-6}.

Sample Input 1

3

Sample Output 1

1.000000000000

For example, a rectangular cuboid whose dimensions are 0.8, 1, and 1.2 has a volume of 0.96.

On the other hand, if the dimensions are 1, 1, and 1, the volume of the rectangular cuboid is 1, which is greater.

Sample Input 2

999

Sample Output 2

36926037.000000000000



Sample input:
3


Sample output:
1.000000000000

Submission status: Accepted

Solution code:
L = int(input())

print((L / 3) ** 3)

Submission status: Accepted

Solution code:
L = int(input())
print(L **3 / 27)

Submission status: Accepted

Solution code:
def sep():
    return map(int,input().strip().split(" "))
def lis():
    return list(sep())

n=float(input())
k=n/3
print(k*k*k)

Submission status: Accepted

Solution code:
print((int(input())/3)**3)

Submission status: Accepted

Solution code:
k=float(input())
volume=(k/3)*(k/3)*(k/3)
print(volume)

Submission status: Accepted

Solution code:
L = int(input())
L = L/3
V=1
for i in range (3):
    V*=L
print (V)

Submission status: Accepted

Solution code:
l = int(input())
print((l/3)**3)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    L=I()
    print((L/3)**3)

main()

Submission status: Accepted

Solution code:
l=int(input())
n=l/3
print(n**3)

Submission status: Accepted

Solution code:
L = int(input())
n = L/3
print(n**3)

Submission status: Accepted

Solution code:
L=int(input())
print(pow(L/3,3))

Submission status: Accepted

Solution code:
L = int(input())
x = L/3
print(x**3)

Submission status: Accepted

Solution code:
l = int(input())

ans = l * l * l / 27

print(ans)

Submission status: Accepted

Solution code:
L = int(input())

ans = pow(L / 3, 3)
print(ans)

Submission status: Accepted

Solution code:
L = int(input())
ans = (L/3) ** 3
print(ans)

Submission status: Accepted

Solution code:
l=int(input())
print(l**3/27)

Submission status: Accepted

Solution code:
# import math
# import statistics
# import itertools
a=int(input())
# b=input()
# c=[]
# for i in a:
#     c.append(int(i))
# N,S,T= map(int,input().split())
# f = list(map(int,input().split()))
# g = [int(input()) for _ in range(N)]
# h = []
# for i in range(a):
#     h.append(list(map(int,input().split())))
# a = [[0] for _ in range(H)]#nizigen

print((a/3)**3)

Submission status: Accepted

Solution code:
def resolve():
    L = int(input())
    a = L/3
    print(a**3)
resolve()

Submission status: Accepted

Solution code:
l = int(input())

ans = (l / 3) ** 3

print(ans)

Submission status: Accepted

Solution code:
l = int(input())

l = float(l / 3)
print(l ** 3)

Submission status: Accepted

Solution code:
from math import *
l = int(input())
print((l/3)**3)

Submission status: Accepted

Solution code:
L = int(input())
print((L**3)/27)

Submission status: Accepted

Solution code:
L = int(input())
S = (L/3)**3
print(S)

Submission status: Accepted

Solution code:
L = int(input())
l = L / 3
print(l ** 3)

Submission status: Accepted

Solution code:
num = int(input())

number = num / 3
print(number * number * number)

Submission status: Accepted

Solution code:
def main():
    L = int(input())
    l = L/3
    print(l*l*l)


main()

Submission status: Accepted

Solution code:
l = int(input())
print(l**3 / 27)

Submission status: Accepted

Solution code:
l = int(input())
print((l/3) * (l/3) * (l/3))

Submission status: Accepted

Solution code:
L= int(input())

print ((L/3)**3)

Submission status: Accepted

Solution code:
l=int(input())

r=l/3
print(r**3)

Submission status: Accepted

Solution code:
l=int(input())
print((l/3)**3)

Submission status: Accepted

Solution code:
print((int(input()) / 3) ** 3)

Submission status: Accepted

Solution code:
l = int(input())
v = (float(l/3))**3
print(v)

Submission status: Accepted

Solution code:
l = int(input())

print(pow(l/3,3))

Submission status: Accepted

Solution code:
L = int(input())
ans = (L/3)**3
print(ans)

Submission status: Accepted

Solution code:
L = int(input())
x = L / 3.0
z = L - 2.0 * x
print(x * x * z)

Submission status: Accepted

Solution code:
l = int(input())
print(l**3/27)

Submission status: Accepted

Solution code:
l = int(input())
print((l/3)**3)

Submission status: Accepted

Solution code:
L = int(input())

x = (L / 3)
y = x
z = x

taiseki = x * y * z
print("{:.08f}".format(taiseki))

Submission status: Accepted

Solution code:
L = int(input())

x = float(L / 3)
y = x
z = x

taiseki = x * y * z
print("{:.08f}".format(taiseki))

Submission status: Accepted

Solution code:
l = int(input())

s = l / 3

print('{:.9f}'.format(s ** 3))

Submission status: Accepted

Solution code:
print((int(input()) / 3) ** 3)

Submission status: Accepted

Solution code:
L = int(input())

print((L/3)**3)

Submission status: Accepted

Solution code:
l=int(input())
print(l**3/27)

Submission status: Accepted

Solution code:
L=int(input())
u=L*4/3/2
print(L*(u**2)/4-u**3/4)

Submission status: Accepted

Solution code:
def main():
    l = int(input())
    print((l / 3) ** 3)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
l = int(input())

print(l/3*l/3*l/3)

Submission status: Accepted

Solution code:
l = int(input())
print((l/3)*(l/3)*(l/3))

Submission status: Accepted

Solution code:
n = int(input())
print("%.6f" % ((n / 3) ** 3))

Submission status: Accepted

Solution code:
L = int(input())

ans = (L/3)**3

print(ans)

Submission status: Accepted

Solution code:
l = int(input())
print((l / 3) ** 3)

Submission status: Accepted

Solution code:
n = int(input())
print((n/3) ** 3)

Submission status: Accepted

Solution code:
l = int(input())
ans = (l/3)**3
print(ans)

Submission status: Accepted

Solution code:
L = int(input())

S = L / 3

print(S**3)

Submission status: Accepted

Solution code:

def main():
    l = int(input())
    print((l/3)**3)

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
l = int(input())
a = l/3

print(a*a*a)

Submission status: Accepted

Solution code:
L = float(input())

print((L/3.)**3.)

Submission status: Accepted

Solution code:
L = int(input())
print((L/3)**3)

Submission status: Accepted

Solution code:
x = int(input())
print((x**3)/27)

Submission status: Accepted

Solution code:
# C - Maximum Volume

l = float(input())

print((l**3)/27)

Submission status: Accepted

Solution code:
l = int(input())
print((l/3) **3)

Submission status: Accepted

Solution code:
l=int(input())
m=l/3
s=m**3
print(s)

Submission status: Accepted

Solution code:
L=int(input())

print((L/3)**3)

Submission status: Accepted

Solution code:
l = int(input())
squre = (l/3)**3
print(squre)

Submission status: Accepted

Solution code:
print(int(input())**3 / 27)

Submission status: Accepted

Solution code:
L = int(input())

a = L / 3

print(a ** 3)

Submission status: Accepted

Solution code:
L = int(input())
L = L/3
print((L)**3)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
def input():
    return sys.stdin.readline()[:-1]

def main():
    L = int(input())

    print((L/3)**3)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def main():
    L = int(input())
    print((L / 3) ** 3)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=int(input())
print((a/3)**3)

Submission status: Accepted

Solution code:
l = int(input())

print((l/3)**3)

Submission status: Accepted

Solution code:
L = int(input())
l = L/3
print(l ** 3)

Submission status: Accepted

Solution code:
L = int(input())
 
# x+y+z=Lのもと、V=xyzを最大化
# V<=(L/3)^3 が成り立ち、等号はx=y=z=L/3で成立
print(L**3/27)

Submission status: Accepted

Solution code:
L = int(input())

# x+y+z=Lのもと、V=xyzを最大化
# V<=(L/3)^3 が成り立ち、等号はx=y=z=L/3で成立
print((L/3)**3)

Submission status: Accepted

Solution code:
l = int(input())
a = l/3
print(a**3)

Submission status: Accepted

Solution code:
from decimal import Decimal
l=int(input())

print(Decimal((l/3)**3))

Submission status: Accepted

Solution code:
L = int(input())

A = L / 3
B = L / 3
C = L - A - B

print(A * B * C)

Submission status: Accepted

Solution code:
#C
L=int(input())

print((L/3)**3)

Submission status: Accepted

Solution code:
l=int(input())


print((l/3)**3)

Submission status: Accepted

Solution code:
import math

l = int(input())
v = math.pow(l/3.0, 3.0)

print(v)

Submission status: Accepted

Solution code:
L=int(input())
print((L/3)**3)

Submission status: Accepted

Solution code:
L = int(input())

print((L/3) ** 3)

Submission status: Accepted

Solution code:
def main():
    l = int(input())

    print(l ** 3 / 27)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
n=int(input())
print((n/3)*(n/3)*(n/3))

Submission status: Accepted

Solution code:
N = int(input())
ans = (N/3)**3
print(ans)

Submission status: Accepted

Solution code:
l= int(input())

print('{:.7f}'.format((l/3)**3))

Submission status: Accepted

Solution code:
L = int(input())
print(L * L * L / 27)

Submission status: Accepted

Solution code:
a= int(input())
b=float(a/3.00000000)
print(b*b*b)

Submission status: Accepted

Solution code:
L = int(input())

ans = L**3/27
print(ans)

Submission status: Accepted

Solution code:
#import math
#import collections
#n,k = map(int, input().split( ))
#A = list(map(int, input().split( )))
L = int(input())
print((L/3)**3)

Submission status: Accepted

Solution code:
l = int(input())
l = l/3
print(l**3)

Submission status: Accepted

Solution code:
n = int(input())
print('{:.06f}'.format((n/3)**3))

Submission status: Accepted

Solution code:
n = int(input())
print('{:.06f}'.format(((100*n/3)**3 / 10**6)))

Submission status: Accepted

Solution code:
def abc159c_maximum_volume():
    l = int(input())
    v = l/3
    print(v*v*(l-2*v))

abc159c_maximum_volume()

Submission status: Accepted

Solution code:
N = int(input())
print((N/3)**3)

Submission status: Accepted

Solution code:
L=int(input())
print((L/3)**3)

Submission status: Accepted

Solution code:
l=int(input())
print((l*l*l)/27)

Submission status: Accepted

Solution code:
L=int(input())
L=L/3
print('{:.6f}'.format(L**3))

Submission status: Accepted

Solution code:
def resolve():
    L = int(input())
    print((L/3)**3)


if '__main__' == __name__:
    resolve()

Submission status: Accepted

Solution code:
L=int(input())
a=L/3
print(a**3)

Submission status: Accepted

Solution code:
import bisect, collections, copy, heapq, itertools, math, string
import sys
def I(): return int(sys.stdin.readline().rstrip())
def MI(): return map(int, sys.stdin.readline().rstrip().split())
def LI(): return list(map(int, sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())

L = I()
print(pow(L / 3, 3))

Submission status: Accepted

Solution code:
from decimal import Decimal
L = int(input())

print(Decimal((L/3)**3))

Submission status: Accepted

Solution code:

l = int(input())

print((l/3)**3)

Submission status: Accepted

Solution code:
l=int(input())
print(((l/3)**3))

Submission status: Accepted

Solution code:
if __name__ == '__main__':

    n = int(input())
    
    tmp3 = n / 3
    
    h = tmp3
    w = tmp3
    d = tmp3

    print(h*w*d)

Submission status: Accepted

Solution code:
l = int(input())

line = l/3
ans = line**3
print(ans)

Submission status: Accepted

Solution code:
l = float(input())
print((l/3)**3)

Submission status: Accepted

Solution code:
def main():
    l = int(input())
    # l = a + b + c 
    # c = l - a - b
    # v = ab(l-a-b)
    # v = b(-a**2 + (l-b)a)
    # v = b(-(a-(l-b)/2)**2 + (l-b)/2)**2)
    # a = (l-b)/2のときv_max=b*(（l-b）/2)**2
    # v_max = b(b**2 - 2*l*b + l**2)/4
    # v_max = (b**3 - 2*l*b**2 + l**2*b)/4
    # v_max' = (3*b**2 - 4*l*b + l**2)/4
    # v_max' = (3*b-l) * (b-l) / 4
    # 0 > b > l/3の時 単調増加
    # l/2 > b > 1 の時単調減少  
    # b = l/3の時v_maxとなる
    # a = (l-l/3)/2 = l/3
    ans = (l/3) ** 3
    print(ans)
     
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
def main():
    print(int(input()) ** 3 / 27)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
def main():
    L = int(input())

    print(L ** 3 / 27)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [input() for _ in range(n)]

l = int(input())

tmp = l / 3

print(tmp**3)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
def main():
    L = int(input())

    ans = 0
    for i in range(min(L, 1000)):
        for j in range(1000):
            a = i + (j / 1000)
            b = (L - a) / 2
            ans = max(ans, a * b * b)
    print(ans)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
L=int(input())
x=L/3
print(x**3)

Submission status: Accepted

Solution code:
n=int(input())
print(n**3/27)

Submission status: Accepted

Solution code:
length = int(input())

a = length / 3

v = a * a * a

print('{:.12f}'.format(v))

Submission status: Accepted

Solution code:
l = int(input())
print((l**3)/27)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
def main():
    l = int(input())
    ans = (l/3) ** 3
    print(ans)
    
main()

Submission status: Accepted

Solution code:
print(int(input())**3/27)

Submission status: Accepted

Solution code:
n = float(input())
value = pow(n,3)/27
print(value)

Submission status: Accepted

Solution code:
L = int(input())
print(L**3 / 27)

Submission status: Accepted

Solution code:
L = int(input())
A = L/3
B = (L-A)/2
C = L - A - B
print(A * B * C)

Submission status: Accepted

Solution code:
L = int(input())
ans = (L ** 3) / 27
print(ans)

Submission status: Accepted

Solution code:
l=int(input())

a=l/3
print(a*a*a)

Submission status: Accepted

Solution code:
L=int(input())
ans=(L/3)**3
print(ans)

Submission status: Accepted

Solution code:
l = int(input())

v = (l/3)**3

print(v)

Submission status: Accepted

Solution code:
L = int(input())

V = (L/3)**3

print(V)

Submission status: Accepted

Solution code:
#!/usr/bin/python3
import sys
input = lambda: sys.stdin.readline().strip()
L = int(input())
print(f'{(L / 3) ** 3:.6f}')

Submission status: Accepted

Solution code:
l = int(input())
print((l / 3) ** 3)

Submission status: Accepted

Solution code:
L = int(input())/3
print(L**3)

Submission status: Accepted

Solution code:
l = int(input())
v = (l / 3) ** 3
print(v)

Submission status: Accepted

Solution code:
l=int(input())
print("{:.7}".format(l**3/27))

Submission status: Accepted

Solution code:
l = float(input())
v = (l/3)**3
print(v)

Submission status: Accepted

Solution code:
N=int(input())
print((N/3)**3)

Submission status: Accepted

Solution code:
def solve():
    L = float(input())
    print((L/3)**3)

if __name__ == "__main__":
    solve()

Submission status: Accepted

Solution code:
L=int(input())
l=L/3

print(l**3)

Submission status: Accepted

Solution code:
L = int(input())
x = L/3
print(x*x*x)

Submission status: Accepted

Solution code:
import numpy

l=int(input())

v=l/3

print(v*v*v)

Submission status: Accepted

Solution code:
L = int(input())
ans = (L / 3) ** 3
print(ans)

Submission status: Accepted

Solution code:
l = int(input())
print(l * l * l / 27)

Submission status: Accepted

Solution code:
l=int(input())
l/=3
print("{:.12f}".format(l*l*l))

Submission status: Accepted

Solution code:
L = float(input())

returnVal = (L/3)**3
print(returnVal)

Submission status: Accepted

Solution code:
score = int(input())
length = score / 3
answer = length ** 3
print(answer)

Submission status: Accepted

Solution code:
l = int(input())
x = l/3
print(x**3)

Submission status: Accepted

Solution code:
n = int(input())
print((n/3)**3)

Submission status: Accepted

Solution code:
nn = int(input())

print((nn/3)**3)

Submission status: Accepted

Solution code:
L=int(input())
print(L**3/27)

Submission status: Accepted

Solution code:
import math
from math import gcd
INF = float("inf")

import sys
input=sys.stdin.readline
import itertools

def main():
    n = int(input())
    k = n / 3
    print(k**3)

if __name__=="__main__":
    main()

Submission status: Accepted

Solution code:
L = int(input())
print((L/3)**3)

Submission status: Accepted

Solution code:
from decimal import *

L = int(input())

if L%3 ==0:
    L1 = L/3
    print(L1**3)
else:
    print(Decimal(L/3)**3)

Submission status: Accepted

Solution code:


L = int (input())
print((L/3)**3)

Submission status: Accepted

Solution code:
L=int(input())
print("{:.6f}".format((L/3)**3))

Submission status: Accepted

Solution code:
L = int(input())
a = L / 3
b = L / 3
c = L - a - b
print(a * b * c)

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict, deque, Counter, OrderedDict
from bisect import bisect_left, bisect_right
from functools import reduce, lru_cache
from heapq import heappush, heappop, heapify

import itertools
import math, fractions
import sys, copy

def L(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline().rstrip())
def S(): return list(sys.stdin.readline().rstrip())
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI1(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LS(): return [list(x) for x in sys.stdin.readline().split()]
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def LIR1(n): return [LI1() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
def LR(n): return [L() for _ in range(n)]

alphabets = "abcdefghijklmnopqrstuvwxyz"
ALPHABETS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

sys.setrecursionlimit(1000000)
dire = [[1, 0], [0, 1], [-1, 0], [0, -1]]
dire8 = [[1, 0], [1, 1], [0, 1], [-1, 1], [-1, 0], [-1, -1], [0, -1], [1, -1]]
MOD = 1000000007

def main():
    L = I()
    print(L ** 3 / 27)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
n = float(input())
print((n/3)**3)

Submission status: Accepted

Solution code:
l=int(input())
l_=l/3
print(l_**3)

Submission status: Accepted

Solution code:
L=int(input())
print((L**3)/27)

Submission status: Accepted

Solution code:
import sys


def resolve(in_):
    L = int(in_.read())
    return (L / 3.0) ** 3


def main():
    answer = resolve(sys.stdin)
    print(f'{answer:.12f}')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
L = int(input())
import math

# 正直方体に近ければ近いほど体積が大きい
# 1辺の長さ
ht = L/3
print(ht**3)

Submission status: Accepted

Solution code:
import numpy as np


L = int(input())

ans = (L / 3)**3

print(ans)

Submission status: Accepted

Solution code:
l = int(input())
print(pow(l / 3, 3))

Submission status: Accepted

Solution code:
def readinput():
    l=int(input())
    return l

def main(l):
    ans=(l/3)**3
    return ans

if __name__=='__main__':
    l=readinput()
    ans=main(l)
    print(ans)

Submission status: Accepted

Solution code:
L = int(input())
a = L/3
V = a*a*a
print(V)

Submission status: Accepted

Solution code:
L = int(input())
ans = (L / 3) ** 3
print(ans)

Submission status: Accepted

Solution code:
L = int(input())

print(L**3/27)

Submission status: Accepted

Solution code:
def maximum_volume():
    """
    立方体に近いほど体積が大きくなる
    """
    # 入力
    L = int(input())
    # 処理
    one_side = L / 3
    # 体積
    return one_side ** 3

result = maximum_volume()
print(result)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# Generated by https://github.com/kyuridenamida/atcoder-tools
from typing import *
import collections
import functools
import itertools
import math
import sys

INF = float('inf')


def solve(L: int):
    return L**3 / 27


def main():

    sys.setrecursionlimit(10 ** 6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    L = int(next(tokens))  # type: int
    print(f'{solve(L)}')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


def solve():
    L = int(input())
    a = L / 3.0
    print(a ** 3)


def main():
    solve()


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
n=int(input())
print((n/3)**3)

Submission status: Accepted

Solution code:
L = int(input())
print((L / 3)**3)

Submission status: Accepted

Solution code:
# abc159_c.py
# https://atcoder.jp/contests/abc159/tasks/abc159_c

# C - Maximum Volume /
# 実行時間制限: 2 sec / メモリ制限: 1024 MB
# 配点 : 300点

# 問題文
# 正の整数 Lが与えられます。 
# 縦、横、高さの長さ (それぞれ、整数でなくてもかまいません) の合計が Lの直方体としてありうる体積の最大値を求めてください。

# 制約
#     1≤L≤1000
#     Lは整数

# 入力
# 入力は以下の形式で標準入力から与えられる。
# L

# 出力
# 縦、横、高さの長さの合計が Lの直方体としてありうる体積の最大値を出力せよ。 
# なお、想定解答との絶対誤差または相対誤差が 10−6以下であれば正解として扱われる。

# 入力例 1
# 3

# 出力例 1
# 1.000000000000

# 例えば 縦 0.8、横 1 、高さ 1.2 の直方体の体積は 0.96です。
# 一方、縦 1、横 1 、高さ 1 とすると直方体の体積は 1で、より体積が大きいです。

# 入力例 2
# 999

# 出力例 2
# 36926037.000000000000


global FLAG_LOG
FLAG_LOG = False


def log(value):
    # FLAG_LOG = True
    # FLAG_LOG = False
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    # S = lines[0]
    L = int(lines[0])
    # N, M = list(map(int, lines[0].split()))
    # values = list(map(int, lines[1].split()))
    # values = list(map(int, lines[2].split()))
    # values = list()
    # for i in range(N):
    #     values.append(int(lines[i]))
    # valueses = list()
    # for i in range(N):
    #     valueses.append(list(map(int, lines[i+1].split())))

    result = (L/3)**3

    return [result]


# 引数を取得
def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines


# テストデータ
def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['3']
        lines_export = [1.000000000000]
    if pattern == 2:
        lines_input = ['999']
        lines_export = [36926037.000000000000]
    return lines_input, lines_export


# 動作モード判別
def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode


# 主処理
def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    # if mode > 0:
    #     print(f'lines_input=[{lines_input}]')
    #     print(f'lines_export=[{lines_export}]')
    #     print(f'lines_result=[{lines_result}]')
    #     if lines_result == lines_export:
    #         print('OK')
    #     else:
    #         print('NG')
    # finished = time.time()
    # duration = finished - started
    # print(f'duration=[{duration}]')


# 起動処理
if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
l = float(input())
print(l ** 3 / 27)

Submission status: Accepted

Solution code:
from sys import stdin
input = stdin.readline


def main():
  L = int(input())

  print((L/3)**3)


if(__name__ == '__main__'):
  main()

Submission status: Accepted

Solution code:
l=float(input())
print("{:0.8f}".format((l/3)**3))

Submission status: Accepted

Solution code:
L = int(input())
print((L/3) ** 3)

Submission status: Accepted

Solution code:
from sys import stdin
import math
from functools import reduce

l = int(stdin.readline().rstrip())

print((l/3)**3)

Submission status: Accepted

Solution code:
import math
import sys
from collections import Counter
readline = sys.stdin.readline


def main():
    l = int(readline().rstrip())
    print((l/3)**3)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
L = int(input())

l = L / 3

print('{:.10f}'.format(l ** 3))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

L = int(input())

print(L**3 / 27)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

L = int(input())
x = L * (10 ** 7) / 3

print(x**3 / (10 ** 21))

Submission status: Accepted

Solution code:
L = int(input())

ans = L**3 / 27

print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
L = int(readline())
print((L/3)**3)

Submission status: Accepted

Solution code:
l = int(input())
a = b = c = l/3
print(a*b*c)

Submission status: Accepted

Solution code:
m=int(input())
x=float(m/3)
print(float(x*x*x))

Submission status: Accepted

Solution code:
n=int(input())
print((n*n*n)/27)

Submission status: Accepted

Solution code:
# Maximum Volume

L = int(input())

l = L / 3

print(l * l * l)

Submission status: Accepted

Solution code:
L=int(input())
print(L**3/27)

Submission status: Accepted

Solution code:
l = int(input())
print(l/3*l/3*l/3)

Submission status: Accepted

Solution code:
N = int(input())
print(N**3/27)

Submission status: Accepted

Solution code:
from math import floor
from decimal import Decimal


L = Decimal(input())
print(L**3/27)

Submission status: Accepted

Solution code:
l=int(input(""))
v=l*l*l
d=int(v/27)
print((v%27)/27+d)

Submission status: Accepted

Solution code:
L = int(input())
print('{:.06f}'.format((L/3)**3))

Submission status: Accepted

Solution code:
l = int(input())
n = l/3
print(n**3)

Submission status: Accepted

Solution code:
l=int(input())

print(l**3/27)

Submission status: Accepted

Solution code:
l = int(input())
print(l*l*l/27.0)

Submission status: Accepted

Solution code:
L = int(input())
print(L**3 / 27)

Submission status: Accepted

Solution code:
l = int(input())

length = l/3

print(length**3)

Submission status: Accepted

Solution code:
l=int(input())

ll=l/3

print(ll**3)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
import collections as cl


def II(): return int(sys.stdin.readline())


def MI(): return map(int, sys.stdin.readline().split())


def LI(): return list(map(int, sys.stdin.readline().split()))


def main():
    N = II()
    print((N/3)**3)


main()

Submission status: Accepted

Solution code:
S=int(input())
A=S/3
print(A**3)

Submission status: Accepted

Solution code:
l = int(input())

a = l/3
b = l/3
c = l/3

print(a*b*c)

Submission status: Accepted

Solution code:
n = float(input())
print(n * n * n / 27)

Submission status: Accepted

Solution code:
l=int(input())

import numpy as np
result = 0
for x in np.arange(l/3-0.1, l/3+0.1, 0.1):
  for y in np.arange(x, l/3+0.1, 0.1):
    z = l - (x+y)
    if z <= 0:
      break
    v = x*y*z
    result = max(v, result)
print(result)

Submission status: Accepted

Solution code:
L = int(input())
ans = (L/3)**(3)
print(f'{ans:.7f}')

Submission status: Accepted

Solution code:
import sys


def main():
    input = sys.stdin.buffer.readline
    l = int(input())
    print((l / 3) ** 3)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
L = int(input())

a=b=c=L/3
print(a*b*c)

Submission status: Accepted

Solution code:
l = int(input())

print("{:.9f}".format((l ** 3) / 27))

Submission status: Accepted

Solution code:
l = int(input())

print((l/3)**3)

Submission status: Accepted

Solution code:
L = int(input())
print((L / 3) ** 3)

Submission status: Accepted

Solution code:
import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
N = I()
print(N/3 * N/3 * N/3)

Submission status: Accepted

Solution code:
L = int(input())

print((L/3) ** 3)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
l = int(input())

n = l / 3
print(n * n * n)

Submission status: Accepted

Solution code:
n = int(input())/3
print(n*n*n)

Submission status: Accepted

Solution code:
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    L = int(readline())

    ans = pow(L / 3, 3)

    print(ans)
    return


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
L = int(input())
a = float(L/3)
print('{:.10g}'.format(a**3))

Submission status: Accepted

Solution code:
l = int(input())
print(l**3/27)

Submission status: Accepted

Solution code:
import decimal
L = decimal.Decimal(int(input()))

ans = (L/3)**3
print(f'{ans:.012f}')

Submission status: Accepted

Solution code:
L = int(input())
print(pow(L / 3, 3))

Submission status: Accepted

Solution code:
L = int(input())

volume = (L / 3)**3

print(volume)

Submission status: Accepted

Solution code:
L = int(input())

a = L / 3
print(a*a*a)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

L = int(input())
print('{:.12f}'.format((L / 3)**3))

Submission status: Accepted

Solution code:
l = int(input())
print((l ** 3) / 27)

Submission status: Accepted

Solution code:
L=int(input())
l=L/3
ans=l*l*l
print("{:.07f}".format(ans))

Submission status: Accepted

Solution code:
a = int(input())
b = a/3
print(b*b*b)

Submission status: Accepted

Solution code:
L = int(input())
print(L ** 3 / 27)

Submission status: Accepted

Solution code:
L = int(input())

l = L/3
print(l*l*l)

Submission status: Accepted

Solution code:
# map(int, input().split())
N = int(input())
x = N / 3
print(x ** 3)

Submission status: Accepted

Solution code:
L = int(input())
print(L ** 3 / 27)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

print(f'{(int(input()) / 3) ** 3:.10f}')

Submission status: Accepted

Solution code:
l = int(input())

V = (l/3)**3
print(V)

Submission status: Accepted

Solution code:
from decimal import Decimal

L = input()
L = Decimal(L)

L = Decimal(L/3)
Ans = Decimal(L*L*L)

print(Ans)