Skip to content

Commit f8dd826

Browse files
fix build
1 parent aeb3ae9 commit f8dd826

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public int firstBadVersion(int n) {
2727
int left = 1;
2828
int right = n;
2929
while (left < right) {
30-
int mid = left + (right - left)/2;
30+
int mid = left + (right - left) / 2;
3131
if (isBadVersion(mid)) {
3232
right = mid;
3333
} else {

0 commit comments

Comments
 (0)