In this video I fully explain how to solve the Bit Strings problem from the CSES problem set. We need to observe how for each bit we only have two choices here: we either set it to 0 or to 1. This will lead us to finding the value that we should output.
Link to the solution: https://cses.fi/paste/f900b3f27dfe71c...
00:00 reading the problem instruction
01:04 analyzing some specific cases and then extracting the formula for the general case
07:53 showing how the power function can be optimized
10:24 reviewing the solution's implementation
13:06 closing the video
Nesta página do site você pode assistir ao vídeo on-line CSES Bit Strings | C++ solution | simple math problem duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Fast Code Developer 05 Julho 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 213 vezes e gostou 2 espectadores. Boa visualização!