feat: misc cleanups
This commit is contained in:
parent
24685b693c
commit
20ca76756e
3 changed files with 1 additions and 9 deletions
|
|
@ -4,7 +4,6 @@ long long minEnd(int n, long long x) {
|
|||
|
||||
while (bits_to_distribute > 0) {
|
||||
if ((x & mask) == 0) {
|
||||
// if the bit should be set, set it-otherwise, leave it alone
|
||||
if ((bits_to_distribute & 1) == 1)
|
||||
x |= mask;
|
||||
bits_to_distribute >>= 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue