brute force
Code\nrust []\nimpl Solution {\n    pub fn max_div_score(nums: Vec<i32>, divisors: Vec<i32>) -> i32 {\n        -divisors.into_iter()\n            .map(|d| (nums
# Code\n```rust []\nimpl Solution {\n    pub fn max_div_score(nums: Vec<i32>, divisors: Vec<i32>) -> i32 {\n        -divisors.into_iter()\n            .map(|d| (nums.iter().filter(|&&x| x%d==0).count(), -d)).max().unwrap().1\n    }\n}\n```
['Rust']