Skip to content

Commit 5ff9779

Browse files
authored
feat: add solutions to lc problem: No.2751
1 parent 7c95881 commit 5ff9779

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

solution/2700-2799/2751.Robot Collisions/Solution.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
class Solution {
22
public:
3-
vector<int> survivedRobotsHealths(vector<int>& positions,
4-
vector<int>& healths, string directions) {
3+
vector<int> survivedRobotsHealths(vector<int>& positions, vector<int>& healths, string directions) {
54
int n = positions.size();
65
vector<int> indices(n);
76

@@ -43,4 +42,4 @@ class Solution {
4342
}
4443
return result;
4544
}
46-
};
45+
};

0 commit comments

Comments
 (0)