diff --git a/aplusb.py b/aplusb.py new file mode 100644 index 0000000..1f11579 --- /dev/null +++ b/aplusb.py @@ -0,0 +1,6 @@ +n = int(input()) + +for _ in range(n): + a, b = map(int, input().split()) + total = a + b + print(total) diff --git a/hhcn.py b/hhcn.py new file mode 100644 index 0000000..b65b1f6 --- /dev/null +++ b/hhcn.py @@ -0,0 +1,11 @@ +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)) \ No newline at end of file