超级简单b( ̄▽ ̄)d
cpp
class Solution {
public:
int minOperations(vector<int>& nums, int k) {
int sum = 0;
for (int num : nums) {
sum += num;
}
return sum % k;
}
};