tom0727 / tom0727.github.io

MIT License
8 stars 1 forks source link

post/103-bitset/ #5

Open utterances-bot opened 5 months ago

utterances-bot commented 5 months ago

Bitset优化 - tom0727's blog

bitset作为C++自带的数据结构,利用bit储存信息,由于 1 byte = 8 bits,并且一个int就有 4 bytes,所以通常情况下用 bitset 可以达到 32

https://tom0727.github.io/post/103-bitset/

mrsunsssss commented 5 months ago

%