CSES Bit Strings | C++ solution | simple math problem

Published: 05 July 2022
on channel: Fast Code Developer
213
2

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


On this page of the site you can watch the video online CSES Bit Strings | C++ solution | simple math problem with a duration of hours minute second in good quality, which was uploaded by the user Fast Code Developer 05 July 2022, share the link with friends and acquaintances, this video has already been watched 213 times on youtube and it was liked by 2 viewers. Enjoy your viewing!