Skip to content

Commit 0958822

Browse files
authored
Update minimum-cost-to-set-cooking-time.cpp
1 parent 83df283 commit 0958822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/minimum-cost-to-set-cooking-time.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Solution {
1616
}
1717
return result;
1818
};
19-
int m = targetSeconds / 60, s =targetSeconds % 60;
19+
int m = targetSeconds / 60, s = targetSeconds % 60;
2020
return min(cost(m, s), cost(m - 1, s + 60));
2121
}
2222
};

0 commit comments

Comments
 (0)