c++ easy to understand clean code
\nclass Solution {\npublic:\n    int minElements(vector<int>& nums, int limit, int goal) {\n        long sum = 0;\n        for (auto& num : nums) sum += num;\n 
```\nclass Solution {\npublic:\n    int minElements(vector<int>& nums, int limit, int goal) {\n        long sum = 0;\n        for (auto& num : nums) sum += num;\n        long diff = abs(goal - sum);\n        return diff % limit ? (diff / limit) + 1 : diff / limit;\n    }\n};\n```
['C']