Skip to content

Commit 96e1d15

Browse files
authored
Update put-boxes-into-the-warehouse-i.cpp
1 parent f71f692 commit 96e1d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/put-boxes-into-the-warehouse-i.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Solution2 {
2828
warehouse[i] = min(warehouse[i], warehouse[i - 1]);
2929
}
3030
int result = 0, curr = 0;
31-
for (int i = size(warehouse)- 1; i >= 0; --i) {
31+
for (int i = size(warehouse) - 1; i >= 0; --i) {
3232
if (boxes[curr] > warehouse[i]) {
3333
continue;
3434
}

0 commit comments

Comments
 (0)