Rust; 0ms; 2.10MB; 1-liner; beats 100%
Code\nrust []\nimpl Solution {\n    pub fn area_of_max_diagonal(dimensions: Vec<Vec<i32>>) -> i32 {\n        dimensions\n            .into_iter()\n            .
# Code\n```rust []\nimpl Solution {\n    pub fn area_of_max_diagonal(dimensions: Vec<Vec<i32>>) -> i32 {\n        dimensions\n            .into_iter()\n            .max_by_key(|dim| (dim[0].pow(2) + dim[1].pow(2), dim[0] * dim[1]))\n            .map(|dim| dim[0] * dim[1])\n            .unwrap()\n    }\n}\n```
['Rust']