Skip to content

Commit 9bcc2ad

Browse files
fix build for 1011
1 parent 3ece4f1 commit 9bcc2ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fishercoder/solutions/_1011.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public int shipWithinDays(int[] weights, int D) {
5858

5959
// Binary search
6060
while (lower <= upper) {
61-
currentGuess = (upper + lower)/2;
61+
currentGuess = (upper + lower) / 2;
6262
if (daysToShip(weights, currentGuess) <= D) {
6363
bestGuess = currentGuess;
6464
upper = currentGuess - 1;

0 commit comments

Comments
 (0)