C++||Solutions✔✔||Beginner Friendly🚀🚀||Easy to understand✔✔
\n# Code\n\nclass Solution {\npublic:\n    int maxDivScore(vector<int>& nums, vector<int>& divisors) {\n        int ans = 0, most = -1; \n        for (auto& div
\n# Code\n```\nclass Solution {\npublic:\n    int maxDivScore(vector<int>& nums, vector<int>& divisors) {\n        int ans = 0, most = -1; \n        for (auto& div : divisors) {\n            int cnt = 0; \n            for (auto & x : nums) {\n                if (x % div == 0) ++ cnt; \n            }\n            if (cnt > most || cnt == most && div < ans) {ans = div, most = cnt; }\n        }\n        return ans; \n    }\n};\n```
['C++']