We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d184ce commit b15fe69Copy full SHA for b15fe69
cp-algo/structures/bit_array.hpp
@@ -70,7 +70,7 @@ namespace cp_algo::structures {
70
auto operator <=> (_bit_array const& t) const = default;
71
72
constexpr _bit_array& xor_hint(_bit_array const& t, size_t hint) {
73
- for(size_t i = hint / width; i < std::size(data); i++) {
+ for(size_t i = hint / width; i < words; i++) {
74
data[i] ^= t.data[i];
75
}
76
return *this;
verify/structures/bitpack/prod_mod_2.test.cpp
@@ -36,9 +36,6 @@ void solve() {
36
cin >> row;
37
from_string(a[i], row);
38
39
- for(auto &it: b) {
40
- it.resize(k);
41
- }
42
for(int i = 0; i < m; i++) {
43
44
from_string(b[i], row);
0 commit comments