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())
l3=l/3
print(l3*l3*l3)

Submission status: Accepted

Solution code:
L = int(input())

print((L / 3)**3)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math

L = int(input())
x = L/3
y = L/3
z =  L - 2*x

print(x * y * z)

Submission status: Accepted

Solution code:
l = int(input())

print(l*l*l/27.0)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN

L = int(input())
a = L / 3

a = Decimal(str(a)).quantize(Decimal(str(10 ** -7)), rounding=ROUND_HALF_UP)
V = Decimal(str(a ** 3)).quantize(Decimal(str(10 ** -6)), rounding=ROUND_HALF_UP)
print(V)

Submission status: Accepted

Solution code:
L = int(input())


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

Submission status: Accepted

Solution code:
L = float(input())

l = L/3.0

print(l**3)

Submission status: Accepted

Solution code:
import numpy as np
L=int(input())
L=np.array(L)
L=L.astype(np.longdouble)
a=L/3
b=L/3
c=L/3
print(a*b*c)

Submission status: Accepted

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

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 / 27)

Submission status: Accepted

Solution code:
l = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input())
if l%3==0:
  print((l/3)**3)
if l%3==1:
  print(((l-1)/3+0.3333333333333)**3)
if l%3==2:
  print(((l-2)/3+0.6666666666667)**3)

Submission status: Accepted

Solution code:
from sys import stdin

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

s = L/3

print(s*s*s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = int(input())
l1 = L / 3
l2 = (L - l1) / 2
l3 = L - l1 - l2

print(l1 * l2 * l3)

Submission status: Accepted

Solution code:
s = int(input())

print((s/3) ** 3)

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
n=int (input())

s = n/3.0
ans = s**3

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

Submission status: Accepted

Solution code:

def main():
  import numpy as np
  
  l = int(input())
  q = l/3
  
  a = np.arange(0,q,0.1)
  v = q ** 3
  print(v)
  


if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L=int(input())
hen=L/3
print(format(hen**3, '.20f'))

Submission status: Accepted

Solution code:
from decimal import *

n = int(input())
result = Decimal(n / 3)
print(Decimal(result ** 3))

Submission status: Accepted

Solution code:
from decimal import Decimal
i = int(input())
hen=Decimal(i)/Decimal(3.0)
print(Decimal(hen)**3)

Submission status: Accepted

Solution code:
ll = int(input())

print((ll/3)**3)

Submission status: Accepted

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

    ans = (L/3) ** 3

    print(ans)


    return 0


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
l = int(input())

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

Submission status: Accepted

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

print(max)

Submission status: Accepted

Solution code:
from decimal import *
getcontext().prec = 54
L = Decimal(input())
L = L / Decimal("3.0")
V = L ** Decimal("3.0")
print(V)

Submission status: Accepted

Solution code:
from math import pow

l = int(input())
print(pow(l / 3, 3))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input())

lx = (l/3)
print(round(lx*lx*lx, 6))

Submission status: Accepted

Solution code:
def m( s ): 
    length = s / 3 
    s -= length 
    breadth = s / 2
    height = s - breadth 
    return (length * breadth * height) 
x=int(input())    
print("{:.6f}".format(m(x)))

Submission status: Accepted

Solution code:
# C - Maximum Volume
L = int(input())
a = L/3
ans = a**3
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

a = Decimal(L/3.0)
print(Decimal(a*a*a))

Submission status: Accepted

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

Submission status: Accepted

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

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) / 27

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    L = int(input())
    print((L/3)**3)

Submission status: Accepted

Solution code:
L = int(input())

x = L / 3

V = x ** 3

print(V)

Submission status: Accepted

Solution code:
from sys import stdin

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

x = l / 3

vol = x ** 3
print('%f'%(vol))

Submission status: Accepted

Solution code:
from decimal import Decimal

L = input()

l = Decimal(L) / 3

print(l ** 3)

Submission status: Accepted

Solution code:
import math

L = float(input())

# case of x==y==z
volume1 = (L/3.0)*(L/3.0)*(L/3.0)

# case of x==y!=z
# --> volume = x*x*(L-2x), which takes max at x=L/3
volume2 = (L/3.0)*(L/3.0)*(L-2.0*(L/3.0))

# case of x!=y==z
# --> same with ^ from the symmetry

# case of x!=y!=z
# --> x+y=L, y+z=L, which never happens...

print(max(volume1,volume2))

Submission status: Accepted

Solution code:
l = int(input())

ans = (l/3) ** 3

print(ans)

Submission status: Accepted

Solution code:


from decimal import Decimal
L = input()

L = Decimal(L + '.00000000')
print(Decimal(L**3/27))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input())

v = (l/3) ** 3

print(v)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
if True:
    l = int(input())

else:
    l=3


tai = (l/3) * (l/3) * (l/3)

print(tai)

Submission status: Accepted

Solution code:
L = float(input())
ans = L * L * L / 27.0
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

L = int(input())

print((L / 3.0) ** 3)

Submission status: Accepted

Solution code:
from decimal import *

L = int(input())

num = L /3
num_d = Decimal(str(num))
vol = Decimal(str(num_d * num_d *num_d))
print(vol)

Submission status: Accepted

Solution code:
# coding: utf-8
init = int(input())
print(pow(init/3,3))

Submission status: Accepted

Solution code:
# 入力を整数に変換して受け取る
def II(): return int(sys.stdin.readline())

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

# 入力全てを整数に変換したものの配列を受け取る
def LI(): return list(map(int, sys.stdin.readline().split()))
# 入力全てを整数に変換して1引いたものの配列を受け取る
def LLI(rows_number): return [LI() for _ in range(rows_number)]


import sys
l = II()
print(l*l*l/27)

Submission status: Accepted

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

print(m*m*m)

Submission status: Accepted

Solution code:
def main(l):
    print("{:.7f}".format((l / 3) ** 3))


if __name__ == "__main__":
    l = int(input())
    main(l)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
decimal.getcontext().prec = 20
S = decimal.Decimal(input()) 
s = S/3
print(decimal.Decimal(s**3))

Submission status: Accepted

Solution code:
n=int(input())
tmp=n/3
if n%3==0:
    print(tmp**3)
else:
    print(tmp*((n-tmp)/2)**2)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect
#pypyではscipy, numpyは使えない
#from scipy.sparse.csgraph import shortest_path, floyd_warshall, dijkstra, bellman_ford, johnson, minimum_spanning_tree
#from scipy.sparse import csr_matrix, coo_matrix, lil_matrix
#import numpy as np
from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
#input = sys.stdin.readline
#文字列のときはうまく行かないのでコメントアウトすること
sys.setrecursionlimit(2147483647)

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

if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:

import math
import itertools
import statistics
#n, m = list(map(int, input().split()))
L = int(input())

x = L/3
ans = (x*x*(L-x*2))

#y = L/3
#a = (y*y*y)
#print(ans)
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input()) 

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = int(input())

tmp = L / 3

print(tmp * tmp * tmp)

Submission status: Accepted

Solution code:
L = int(input())

V = (L / 3) ** 3

print(V)

Submission status: Accepted

Solution code:
l = int(input(""))
t = l / 3.0
print(t*t*t)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L=int(input())


hen=L/3

print(hen**3)

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
L = int(input())
side = L / 3
print(side * side * side)

Submission status: Accepted

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

# output
print(L*L*L/27)

Submission status: Accepted

Solution code:
# class Solution:
#     def solve(self, a, b, c, s):
#         return str(a + b + c) + " " + s


def main():
    inp = lambda: [int(x) for x in input().split()]
    n = float(input()) / 3
    print(n ** 3)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
l=int(input())
a=l/3
a=pow(a,3)
print('{0:.12f}'.format(a))

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
import sys


def solve(L: int):
    a,b,c=L/3,L/3,L/3
    print(a*b*c)
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    L = int(next(tokens))  # type: int
    solve(L)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input())

a = l/3

print(a**3)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l = int(input())


print(l**3/27)

Submission status: Accepted

Solution code:
from decimal import Decimal
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    L = input()

    l = Decimal(L) / Decimal('3')
    ans = Decimal(l) ** Decimal('3')
    print(ans)


main()

Submission status: Accepted

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

i_i = lambda: int(i_s())
i_l = lambda: list(map(int, stdin.readline().split()))
i_s = lambda: stdin.readline().rstrip()

L = i_i()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = int(input())

a = L / 3

print(a**3)

Submission status: Accepted

Solution code:
n=float(input())
c=(n/3)*(n/3)*(n/3)
print("{0:.6f}".format(c))

Submission status: Accepted

Solution code:
import decimal
    
num = decimal.Decimal(input())
calc_num = decimal.Decimal(num / 3)
print(calc_num * calc_num * calc_num)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Python3 code to Maximize volume of 
# cuboid with given sum of sides 

# Return the maximum volume. 
def maxvolume( s ): 

	# finding length 
	length = (s / 3) 
	
	s -= length 
	
	# finding breadth 
	breadth = s / 2
	
	# finding height 
	height = s - breadth 
	
	return (length * breadth * height) 
	
# Driven Program 
s = int(input())
print( maxvolume(s) ) 

# This code is contributed by "Sharad_Bhardwaj".

Submission status: Accepted

Solution code:
n = int(input())

w = n/3
h = n/3
t = n - n/3 - n/3

print(w * h * t)

Submission status: Accepted

Solution code:

L = int(input())

V_max = (float(L) / float(3)) ** 3
print(V_max)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal
L = float(input())
ans = Decimal((L/3)**3)
print('{:.12f}'.format(ans))

Submission status: Accepted

Solution code:
L = int(input())
m = L*1000000//3
volume = m/1000000*m/1000000*(L*1000000-2*m)/1000000
print(volume)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L=float(input())

a=L/3

ans=a*a*a

print(ans)

Submission status: Accepted

Solution code:
L = int(input())


print((L/3)**3)

Submission status: Accepted

Solution code:
L = int(input())

print("{:.10f}".format(L**3/27))

Submission status: Accepted

Solution code:
L = int(input())
import decimal
D = decimal.Decimal(L / 3)
print(D ** 3)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = int(input())

print(L**3*(1/3)**3)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 200322 C

L = float(input())

print((L/3)**3)

Submission status: Accepted

Solution code:
L = int(input())

one = L/3

answer = one*one*one

print(answer)

Submission status: Accepted

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

e = l/3
ans = e**3
print("{:.12f}".format(ans))

Submission status: Accepted

Solution code:
#C - Maximum Volume
L=int(input())
V = (L/3)**3
print(V)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = int(input())
x = L/3
y = L/3
z = L/3

print(x*y*z)

Submission status: Accepted

Solution code:
l = int(input())

# print(l)
#print(333 * 333 * 333)
print((l/3)**3)

Submission status: Accepted

Solution code:
from decimal import *

L = int(input())
ans = Decimal((L / 3) ** 3)

print('{:.10g}'.format(ans))

Submission status: Accepted

Solution code:
from decimal import Decimal
from decimal import *

getcontext().prec = 40

L = Decimal(str(input()))

factor = L / Decimal("3")

print(factor**Decimal("3"))

Submission status: Accepted

Solution code:
#!/usr/bin/env python
from __future__ import division, print_function

import os
import sys
from io import BytesIO, IOBase

if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip


def main():
    l = int(input().strip())
    result = (l / 3.0) ** 3
    print(result)


# region fastio

BUFSIZE = 8192


class FastIO(IOBase):
    newlines = 0

    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None

    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()

    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()

    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")


def print(*args, **kwargs):
    """Prints the values to a stream, or to sys.stdout by default."""
    sep, file = kwargs.pop("sep", " "), kwargs.pop("file", sys.stdout)
    at_start = True
    for x in args:
        if not at_start:
            file.write(sep)
        file.write(str(x))
        at_start = False
    file.write(kwargs.pop("end", "\n"))
    if kwargs.pop("flush", False):
        file.flush()


if sys.version_info[0] < 3:
    sys.stdin, sys.stdout = FastIO(sys.stdin), FastIO(sys.stdout)
else:
    sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)

input = lambda: sys.stdin.readline().rstrip("\r\n")

# endregion

if __name__ == "__main__":
    main()

Submission status: Accepted

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

n = int(input())

if (n/3)*3 == n:
    print((n/3) * (n/3) * (n/3))

Submission status: Accepted

Solution code:
from decimal import *
L = int(input())
x = Decimal(L/3)
y = Decimal(L/3)
z = Decimal(L -x - y)
print(x*y*z)

Submission status: Accepted

Solution code:
from decimal import *
L=float(input())
out = (Decimal(L/3)**Decimal(3))
print(out)

Submission status: Accepted

Solution code:
L = int(input())

from decimal import *

getcontext().prec=100

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

Submission status: Accepted

Solution code:
L = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

MOD = 10**9
def make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)
    return divisors

L = int(input())

ans = float(L)/3

print(ans*ans*ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

    return

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
import sys, math

sys.setrecursionlimit(10 ** 9)
from collections import defaultdict

IA = lambda: map(int, input().split())
IAS = lambda: map(str, input().split())

sum=0
for i in range(10):
    sum+=1
n = int(input())
print("{:.12f}".format(pow(n, 3) / 27.0))

Submission status: Accepted

Solution code:
l = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
l=float(input())

import math
a=math.floor(l/3*100000000000000000)/100000000000000000
b=math.floor(l/3*100000000000000000)/100000000000000000
c=l-a-b

print(a*b*c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
print((decimal.Decimal(input()) / 3) ** 3)

Submission status: Accepted

Solution code:
l = int(input().rstrip())

x = l / 3
y = l / 3
z = l / 3

ans = x * y * z

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

Submission status: Accepted

Solution code:
from decimal import *

N = int(input())

def solve(N):
    hoge = float(N) / 3
    hoge = str(hoge)
    return Decimal(hoge)*Decimal(hoge)*Decimal(hoge)

print(solve(N))

Submission status: Accepted

Solution code:
import math
L = int(input())
ans = math.pow((L / 3), 3)
print(ans)

Submission status: Accepted

Solution code:
l = int(input())

a = l/3

print(a**3)

Submission status: Accepted

Solution code:
L = float(input())

ans = (L/3) ** 3

print(ans)

Submission status: Accepted

Solution code:
L = int(input())

A = L/3
A = round(A, 9)

print(A ** 3)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 2020/03/22
# AtCoder Beginner Contest 159 - C

# Input
l = int(input())

# Calc
wkl = l / 3
ans = wkl ** 3

# Output
print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal

n = int(input())
print(Decimal(n/3)**3)

Submission status: Accepted

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

n = int(readline())

p = n/3

print(p**3)

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
# import numpy as np
# import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)


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

    x = L / 3

    V = x ** 3

    print(V)



main()

Submission status: Accepted

Solution code:
import sys
# sys.stdin = open('input.txt')

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

Submission status: Accepted

Solution code:
import math
def C():
    L = int(input())
    print(math.pow((L/3), 3))
    
C()

Submission status: Accepted

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


def solve(L: int):
    print(format((L/3.0)**3.0, ".10f"))


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    L = int(next(tokens))  # type: int
    solve(L)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
L = int(input().rstrip())
import decimal
decimal.getcontext().prec = 30
L = decimal.Decimal(L)
a = L / 3
print(a*a*a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import bisect, collections
 
 
 
def solution():
    l = int(input().strip())
    print((l/3)**3)
    

def main():    
    # T = int(input().strip())
    for _ in range(1):
        solution()

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
l = int(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
data = int(input())

print(data ** 3 / 27)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L=float(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())
V = L/3 * L/3 * L/3
print(V)

Submission status: Accepted

Solution code:
l = float(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
def main():
    L = int(input())
    print((L / 3) ** 3)

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def Main(L):
    return (L/3)**3
    

def main():
    L = int(input())
    print("{:.12f}".format(Main(L)))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import decimal
def solve():
  decimal.getcontext().prec = 10
  l = int(input())
  l = decimal.Decimal(l)
  huga = decimal.Decimal(3)
  hoge = l / huga
  print(hoge ** huga)
  return 0

if __name__ == "__main__":
  solve()

Submission status: Accepted

Solution code:
L = int(input())

side = L / 3

print(side**3)

Submission status: Accepted

Solution code:
# inp = input().split()

l = int(input())

a = l/3
b = l/3
c = l - (a+b)

print(a*b*c)

Submission status: Accepted

Solution code:
#%%
import sys
def input():
    return sys.stdin.readline().rstrip()

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

    print((L/3)**3)
    


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

# %%
# from atcoder_test import doTest
# doTest("abc159","c",main)

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from decimal import Decimal

l = Decimal(input())

ans = (l / Decimal(3.0)) ** Decimal(3.0)

print(ans)

Submission status: Accepted

Solution code:
L=float(input())

print('{:.08f}'.format((L/3)**3))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()
n = int(n)

print((n/3)**3)

Submission status: Accepted

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

print(ans)

Submission status: Accepted

Solution code:
from decimal import Decimal

n = int(input())

a = Decimal(n/3)

print(a**3)

Submission status: Accepted

Solution code:
L = int(input())

a = L/3
V = a**3

print(V)

Submission status: Accepted

Solution code:
s = int(input())

print((s/3)**3)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    sum_l = float(input().strip())

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

ans = (N/3)**3  
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin


def get_result(data):
    L = data[0]
    return pow((L/3.0), 3.0)


if __name__ == '__main__':
    data = list(map(int, stdin.readline().split(' ')))
    result = get_result(data)
    print(result)

Submission status: Accepted

Solution code:
L=int(input())

print(float(pow(L,3)/27))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 整数の入力
l = int(input())

# 計算
s = l / 3

# 出力
print(s**3)