mirror of
https://github.com/tiennm99/claoj.git
synced 2026-10-12 16:15:11 +00:00
feat(cpp): minify hhcn
This commit is contained in:
1 parent
c761bd6b91
commit
255bcaef5f
1 file changed
+2
-5
+2
-5
@@ -2,12 +2,9 @@
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
long long a, b, c;
|
||||
double a, b, c;
|
||||
cin >> a >> b >> c;
|
||||
long long x = sqrt(a * b / c);
|
||||
long long y = sqrt(b * c / a);
|
||||
long long z = sqrt(c * a / b);
|
||||
|
||||
cout << 4 * (x + y + z);
|
||||
cout << 4 * (sqrt(a * b / c) + sqrt(b * c / a) + sqrt(c * a / b));
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user