mirror of
https://github.com/tiennm99/claoj.git
synced 2026-10-11 12:09:03 +00:00
11 lines
258 B
Python
11 lines
258 B
Python
import math
|
|
|
|
area1, area2, area3 = map(int, input().split())
|
|
|
|
length = math.sqrt(area1 * area2 / area3)
|
|
width = math.sqrt(area2 * area3 / area1)
|
|
height = math.sqrt(area3 * area1 / area2)
|
|
|
|
sum_of_edges = 4 * (length + width + height)
|
|
|
|
print(int(sum_of_edges)) |