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
Sur cette page du site, vous pouvez voir la vidéo en ligne CSES Bit Strings | C++ solution | simple math problem durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Fast Code Developer 05 juillet 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 213 fois et il a aimé 2 téléspectateurs. Bon visionnage!