python3 1 liner (beats 100%)
\n\n# Code\n\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return ceil(abs(sum(nums)-goal)/limit)\n
\n\n# Code\n```\nclass Solution:\n    def minElements(self, nums: List[int], limit: int, goal: int) -> int:\n        return ceil(abs(sum(nums)-goal)/limit)\n```
['Python3']