dango3.cpp: In function 'void Solve(int, int)':
dango3.cpp:25:2: error: 'vector' was not declared in this scope
25 | vector <vector <int>> ans(m);
| ^~~~~~
dango3.cpp:25:2: note: suggested alternatives:
In file included from /usr/include/c++/10/vector:67,
from dango3.h:1,
from dango3.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector'
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
In file included from dango3.h:1,
from dango3.cpp:1:
/usr/include/c++/10/vector:86:13: note: 'std::pmr::vector'
86 | using vector = std::vector<_Tp, polymorphic_allocator<_Tp>>;
| ^~~~~~
dango3.cpp:25:18: error: expected primary-expression before 'int'
25 | vector <vector <int>> ans(m);
| ^~~
dango3.cpp:26:10: error: expected primary-expression before 'int'
26 | vector <int> a(n * m);
| ^~~
dango3.cpp:33:19: error: 'a' was not declared in this scope
33 | for (auto &x : a) x = 1;
| ^
dango3.cpp:36:19: error: 'ans' was not declared in this scope
36 | for (auto x : ans[i]) a[x] = 0;
| ^~~
dango3.cpp:36:27: error: 'a' was not declared in this scope
36 | for (auto x : ans[i]) a[x] = 0;
| ^
dango3.cpp:38:4: error: 'a' was not declared in this scope
38 | a[i] = 0;
| ^
dango3.cpp:40:12: error: expected primary-expression before 'int'
40 | vector <int> qry;
| ^~~
dango3.cpp:41:46: error: 'qry' was not declared in this scope
41 | for (int i = 0; i < n * m; i++) if (a[i]) qry.push_back(i + 1);
| ^~~
dango3.cpp:43:20: error: 'qry' was not declared in this scope
43 | int get = Query(qry);
| ^~~
dango3.cpp:49:3: error: 'ans' was not declared in this scope
49 | ans[l].push_back(i);
| ^~~
dango3.cpp:52:37: error: 'ans' was not declared in this scope
52 | for (int i = 0; i < m; i++) Answer(ans);
| ^~~
dango3.cpp: At global scope:
dango3.cpp:7:5: warning: '{anonymous}::variable_example' defined but not used [-Wunused-variable]
7 | int variable_example = 1;
| ^~~~~~~~~~~~~~~~