Simple Python Solution Beats 91.59%
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:\nO(mxn)\n- Space complexity:\nO(1)\n# Code\n```python3 []\nclass Solution:\n    def numberOfPairs(self, nums1: List[int], nums2: List[int], k: int) -> int:\n        count = 0\n\n        for num1 in nums1:\n            for num2 in nums2:\n                if num1 % (num2*k) == 0:\n                    count += 1\n\n        return count\n```
['Python3']