Skip to content

Commit 43d433f

Browse files
committed
daily
1 parent 1803b8d commit 43d433f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

my-submissions/e3000.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)