We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1803b8d commit 43d433fCopy full SHA for 43d433f
my-submissions/e3000.py
@@ -0,0 +1,3 @@
1
+class Solution:
2
+ def areaOfMaxDiagonal(self, dimensions: List[List[int]]) -> int:
3
+ return prod(max(dimensions, key=(lambda x: (sqrt(x[0] ** 2 + x[1] ** 2), prod(x)))))
0 commit comments