Skip to content

Commit 3b2c7d5

Browse files
committed
fmt
1 parent 2f11895 commit 3b2c7d5

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/cpp_solutions/2448_minimum-cost-to-make-array-equal.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#include <vector>
21
#include <algorithm>
3-
2+
#include <vector>
43

54
using namespace std;
65

@@ -39,7 +38,6 @@ class Solution {
3938

4039
cost_pre_sum += v[i].second;
4140
cost_post_sum -= v[i].second;
42-
4341
}
4442

4543
return ans;

src/cpp_solutions/376_wiggle-subsequence.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class Solution {
1313
el[0][0] = nums[0];
1414
el[0][1] = nums[0];
1515

16-
1716
for (int i = 1; i < nums.size(); ++i) {
1817
if (nums[i] > el[i - 1][1]) {
1918
dp[i][0] = dp[i - 1][1] + 1;

0 commit comments

Comments
 (0)