mirror of
https://github.com/tiennm99/claoj.git
synced 2026-10-11 03:13:12 +00:00
14 lines
287 B
C
14 lines
287 B
C
#include <stdio.h>
|
|
#include <math.h>
|
|
|
|
int main() {
|
|
long long a, b, c;
|
|
scanf("%lld %lld %lld", &a, &b, &c);
|
|
|
|
double numerator = 4.0 * (a * b + b * c + c * a);
|
|
double denominator = sqrt((double) (a * b * c));
|
|
|
|
printf("%.0f\n", numerator / denominator);
|
|
return 0;
|
|
}
|