You are viewing a single comment's thread. Return to all comments →
Note: time complexity is O(1), not O(log n) as stated in the editorial. (Given that python's "bit_length()" is O(1).)
Seems like cookies are disabled on this browser, please enable them to open this website
A stones game
You are viewing a single comment's thread. Return to all comments →
Note: time complexity is O(1), not O(log n) as stated in the editorial.
(Given that python's "bit_length()" is O(1).)