Skip to content

Commit 8492bbb

Browse files
authored
Update minimum-operations-to-make-binary-array-elements-equal-to-one-i.cpp
1 parent 41e1833 commit 8492bbb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

C++/minimum-operations-to-make-binary-array-elements-equal-to-one-i.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class Solution {
1010
if (nums[i]) {
1111
continue;
1212
}
13-
nums[i] ^= 1;
1413
nums[i + 1] ^= 1;
1514
nums[i + 2] ^= 1;
1615
++result;

0 commit comments

Comments
 (0)