Algorithm::BIT::XS bit_create(IV len);
void bit_free(Algorithm::BIT::XS b);
+ALIAS:
+ DESTROY = 1
IV bit_query(Algorithm::BIT::XS b, IV idx);
Algorithm::BIT2D::XS bit2d_create(IV n, IV m);
void bit2d_free(Algorithm::BIT2D::XS b);
+ALIAS:
+ DESTROY = 1
IV bit2d_query(Algorithm::BIT2D::XS b, IV i1, IV i2);