We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c95881 commit 5ff9779Copy full SHA for 5ff9779
solution/2700-2799/2751.Robot Collisions/Solution.cpp
@@ -1,7 +1,6 @@
1
class Solution {
2
public:
3
- vector<int> survivedRobotsHealths(vector<int>& positions,
4
- vector<int>& healths, string directions) {
+ vector<int> survivedRobotsHealths(vector<int>& positions, vector<int>& healths, string directions) {
5
int n = positions.size();
6
vector<int> indices(n);
7
@@ -43,4 +42,4 @@ class Solution {
43
42
}
44
return result;
45
46
-};
+};
0 commit comments