Alice.cpp: In function 'void Alice(int, int, int*, int*)':
Alice.cpp:20:5: error: 'initG' was not declared in this scope; did you mean 'InitG'?
20 | initG(N+12, N+M+binarycount+10);
| ^~~~~
| InitG
Alice.cpp:27:17: error: too few arguments to function 'void MakeG(int, int, int)'
27 | MakeG(N+1, N);
| ^
In file included from Alice.cpp:2:
Alicelib.h:3:6: note: declared here
3 | void MakeG( int pos, int C, int D );
| ^~~~~
Bob.cpp: In function 'void findbit(int)':
Bob.cpp:22:29: error: 'begin' was not declared in this scope; did you mean 'std::begin'?
22 | for (auto j : adj[bit[i]]) {
| ^
| std::begin
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1224:5: note: 'std::begin' declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
Bob.cpp:22:29: error: 'end' was not declared in this scope; did you mean 'std::end'?
22 | for (auto j : adj[bit[i]]) {
| ^
| std::end
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1244:5: note: 'std::end' declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:33:12: error: 'upmap' was not declared in this scope; did you mean 'unmap'?
33 | memset(upmap, -1, sizeof(unmap));
| ^~~~~
| unmap
Bob.cpp:9:12: error: request for member 'push_back' in 'adj.std::vector<int>::operator[](((std::vector<int>::size_type)(*(C + ((sizetype)(((long unsigned int)i) * 4))))))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
9 | #define pb push_back
| ^~~~~~~~~
Bob.cpp:40:19: note: in expansion of macro 'pb'
40 | adj[C[i]].pb(D[i]);
| ^~
Bob.cpp:9:12: error: request for member 'push_back' in 'adj.std::vector<int>::operator[](((std::vector<int>::size_type)(*(D + ((sizetype)(((long unsigned int)i) * 4))))))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
9 | #define pb push_back
| ^~~~~~~~~
Bob.cpp:41:19: note: in expansion of macro 'pb'
41 | adj[D[i]].pb(C[i]);
| ^~
Bob.cpp:46:38: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
46 | if (deg[i] == 1 && deg[adj[i][0]] == N+1) {
| ^
Bob.cpp:47:25: error: invalid types '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]' for array subscript
47 | key = adj[i][0];
| ^
Bob.cpp:54:28: error: 'begin' was not declared in this scope; did you mean 'std::begin'?
54 | for (auto j : adj[i]) {
| ^
| std::begin
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1224:5: note: 'std::begin' declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
Bob.cpp:54:28: error: 'end' was not declared in this scope; did you mean 'std::end'?
54 | for (auto j : adj[i]) {
| ^
| std::end
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1244:5: note: 'std::end' declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
Bob.cpp:63:32: error: 'begin' was not declared in this scope; did you mean 'std::begin'?
63 | for (auto j : adj[i]) {
| ^
| std::begin
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1224:5: note: 'std::begin' declared here
1224 | begin(const valarray<_Tp>& __va)
| ^~~~~
Bob.cpp:63:32: error: 'end' was not declared in this scope; did you mean 'std::end'?
63 | for (auto j : adj[i]) {
| ^
| std::end
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:95,
from Bob.cpp:1:
/usr/include/c++/10/valarray:1244:5: note: 'std::end' declared here
1244 | end(const valarray<_Tp>& __va)
| ^~~
Bob.cpp:67:27: error: 'ed' was not declared in this scope; did you mean 'ld'?
67 | if (cnt == 1) ed.pb(i);
| ^~
| ld
Bob.cpp:71:22: error: request for member 'size' in 'adj.std::vector<int>::operator[](((std::vector<int>::size_type)edge.std::vector<int>::operator[](0)))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
71 | if (adj[edge[0]].size() > adj[edge[1]].size()) bit[1] = edge[0];
| ^~~~
Bob.cpp:71:44: error: request for member 'size' in 'adj.std::vector<int>::operator[](((std::vector<int>::size_type)edge.std::vector<int>::operator[](1)))', which is of non-class type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'}
71 | if (adj[edge[0]].size() > adj[edge[1]].size()) bit[1] = edge[0];
| ^~~~