Skip to content

Commit 37d4e1a

Browse files
author
rom.spiridonov
committed
feat: feat: add solutions to lc problem: No.3413
1 parent f9e8837 commit 37d4e1a

File tree

1 file changed

+1
-0
lines changed
  • solution/3400-3499/3413.Maximum Coins From K Consecutive Bags

1 file changed

+1
-0
lines changed

solution/3400-3499/3413.Maximum Coins From K Consecutive Bags/Solution.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class Solution {
1515
int64_t cost() const { return int64_t(value) * (end - start + 1); }
1616
int64_t cost(int len) const { return int64_t(value) * len; }
1717
};
18+
1819
public:
1920
long long maximumCoins(vector<vector<int>>& coins, int k) {
2021
int N = int(coins.size());

0 commit comments

Comments
 (0)