Alice.cpp: In function 'void Alice(int, int, std::vector<int>, std::vector<int>)':
Alice.cpp:56:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<a.size();i++)
~^~~~~~~~~
/tmp/ccBPdvoo.o: In function `main':
grader_alice.cpp:(.text.startup+0xe0): undefined reference to `Alice(int, int, int*, int*)'
collect2: error: ld returned 1 exit status
Bob.cpp:9:22: error: 'c' has not been declared
void Bob(int v,int u,c[],d[]);
^
Bob.cpp:9:26: error: 'd' has not been declared
void Bob(int v,int u,c[],d[]);
^
Bob.cpp: In function 'int deg_in_9(int)':
Bob.cpp:27:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<vec[x].size();i++)
~^~~~~~~~~~~~~~
Bob.cpp: In function 'void Bob(int, int, int*, int*)':
Bob.cpp:38:5: error: request for member 'push_back' in 'c', which is of non-class type 'int*'
c.push_back(cc[i]);
^~~~~~~~~
Bob.cpp:38:15: error: 'cc' was not declared in this scope
c.push_back(cc[i]);
^~
Bob.cpp:38:15: note: suggested alternative: 'c'
c.push_back(cc[i]);
^~
c
Bob.cpp:39:5: error: request for member 'push_back' in 'd', which is of non-class type 'int*'
d.push_back(dd[i]);
^~~~~~~~~
Bob.cpp:39:15: error: 'dd' was not declared in this scope
d.push_back(dd[i]);
^~
Bob.cpp:39:15: note: suggested alternative: 'd'
d.push_back(dd[i]);
^~
d
Bob.cpp:90:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<vec[temp].size();j++)
~^~~~~~~~~~~~~~~~~