Skip to content

Update atcoder/internal_bit.hpp to use more efficient bit_ceil#188

Open
avighnac wants to merge 1 commit intoatcoder:masterfrom
avighnac:master
Open

Update atcoder/internal_bit.hpp to use more efficient bit_ceil#188
avighnac wants to merge 1 commit intoatcoder:masterfrom
avighnac:master

Conversation

@avighnac
Copy link

This PR addresses #187 by replacing the loop-based implementation of bit_ceil with a constant-time version.

Let me know if everything looks okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant