Short & Concise | C++
\nclass Solution {\npublic:\n    int minElements(vector<int>& nums, int limit, int goal) {\n        long long sum = 0;\n        for(int i : nums) sum += i;\n   
```\nclass Solution {\npublic:\n    int minElements(vector<int>& nums, int limit, int goal) {\n        long long sum = 0;\n        for(int i : nums) sum += i;\n        \n        long long diff = goal - sum;\n        return ceil((double)abs(diff) / limit);\n    }\n};\n```
['C++']