s1049
All checks were successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2023-02-09 15:52:59 +08:00
parent 43be72324d
commit 8551696b52
5 changed files with 89 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
#ifndef S1049_LAST_STONE_WEIGHT_II_HPP
#define S1049_LAST_STONE_WEIGHT_II_HPP
#include <algorithm>
#include <vector>
using namespace std;
class S1049 {
public:
int lastStoneWeightII(vector<int>& stones);
};
#endif