C++ Bitsets in Competitive Programming

Опубликовано: 17 Февраль 2026
на канале: Errichto Algorithms
134,504
4.6k

Tutorial on bitsets in C++. You will often see on Codeforces that you should "just use bitsets", and now you will learn how to do it. My CF article about this topic plus bonuses: https://codeforces.com/blog/entry/73558

Previous video with introduction to bitwise operations:    • Bitwise Operations tutorial #1 | XOR, Shif...  

Subscribe for more educational videos on algorithms, coding interviews and competitive programming.

Github repository: https://github.com/Errichto/youtube
Live streams on 2nd YT channel and on Twitch:    / errichto2   &   / errichto  
FB and Twitter:   / errichto   &   / errichto  
Frequently Asked Questions: https://github.com/Errichto/youtube/w...