We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e749182 commit 421791dCopy full SHA for 421791d
tests/library_checker_aizu_tests/math/xor_basis_intersection.test.cpp
@@ -37,7 +37,8 @@ int main() {
37
cin >> n;
38
basis basis1;
39
basis_ordered<int> basis2; // to check that it compiles
40
- assert(empty(basis2.b)); // remove unused var warning
+ assert(
41
+ sz(basis2.b) == lg); // remove unused var warning
42
basis_ordered<ll> basis3;
43
basis_ordered<bitset<lg>> basis4;
44
for (int i = 0; i < n; i++) {
@@ -56,6 +57,7 @@ int main() {
56
57
cin >> m;
58
basis basis5;
59
basis_ordered<int> basis6;
60
+ assert(sz(basis6.b) == lg);
61
basis_ordered<ll> basis7;
62
basis_ordered<bitset<lg>> basis8;
63
for (int j = 0; j < m; j++) {
0 commit comments