:D
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```cpp []\nclass Solution {\npublic:\n    int numberOfPairs(vector<int>& nums1, vector<int>& nums2, int k) {\n        int count=0;\n        for(int i=0;i<nums1.size();i++)\n        {\n            for(int j=0;j<nums2.size();j++)\n            {\n                \n                {\n                    if((nums1[i]%(nums2[j] * k ))==0)\n                        count++;\n                }\n            }\n        }\n        return count;\n    }\n};\n```
['C++']