Bitset In Python

Правка en1, от i_love_emilia_clarke, 2015-10-28 21:59:20

Hi Codeforces folks, i was wondering whether python has alternative for Bitset(in C++) to use it as flag in sieve, i thought of using a string but it is immutable, so do we have an alternative for bitset in python or are we compelled to make a list?

Теги python, sieve, optimization

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский i_love_emilia_clarke 2015-10-28 21:59:20 266 Initial revision (published)