Skip to content

Commit

Permalink
Update 2019-07-31.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EdgeAsh authored Aug 19, 2019
1 parent 33b2599 commit c180061
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion daily/2019-07-31.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function betterOne(nPerson) { // 首元素设空, 下标就与楼层对应了,
N3 -= nPerson[i]
N2 = nPerson[i]
} else {
break
break
}
}
return target
Expand Down Expand Up @@ -113,6 +113,8 @@ function betterOnewithWeight(nPerson, k) { // 首元素设空, 下标就与楼
N1 += N2
N3 -= nPerson[i]
N2 = nPerson[i]
} else {
break;
}
}
return target
Expand Down

0 comments on commit c180061

Please sign in to comment.