message: Update reducing-dishes.cpp
diff: @@ -5,8 +5,8 @@ class Solution {
  public:
  int maxSatisfaction(vector<int>& satisfaction) {
  sort(begin(satisfaction), end(satisfaction), greater<int>());
  - int result = 0, curr = 0;
  - for (int i = 0; i < satisfaction.size() && curr + satisfaction[i] > 0; ++i) {
  + int result = 0;
  + for (int i = 0, curr = 0; i < satisfaction.size() && curr + satisfaction[i] > 0; ++i) {
  curr += satisfaction[i];
  result += curr;
  }
  