We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Game Theory
- A stones game
- Discussions
A stones game
A stones game
Sort by
recency
|
35 Discussions
|
Please Login in order to post a comment
If you like to play games like cs go, then I can definitely recommend cs go gambling games, where you can play using cs go skins. In addition, there are now reliable CSGO roulette sites with really good conditions for players. I think it makes sense to read more about the most popular platforms and choose something that is most secure.
Note: time complexity is O(1), not O(log n) as stated in the editorial.
(Given that python's "bit_length()" is O(1).)
Here is problem solution in Python Java C++ and C programming - https://programs.programmingoneonone.com/2021/07/hackerrank-a-stones-game-problem-solution.html
I have not understood the problem
Beautiful problem, really enjoyed after solving this problem :) Do some observations and think greedily.