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/ccerC5aN.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: In function 'int deg_in_9(int)':
Bob.cpp:24: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, std::vector<int>, std::vector<int>)':
Bob.cpp:82:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<vec[temp].size();j++)
~^~~~~~~~~~~~~~~~~
Bob.cpp:78:15: warning: 'nine' may be used uninitialized in this function [-Wmaybe-uninitialized]
ordered[nine]=1;
~~~~~~~~~~~~~^~
Bob.cpp:69:15: warning: 'zero' may be used uninitialized in this function [-Wmaybe-uninitialized]
ordered[zero]=1;
~~~~~~~~~~~~~^~
Bob.cpp:95:3: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=ind&&!chkbit[i])
^~
Bob.cpp:41:15: warning: 'point0' may be used uninitialized in this function [-Wmaybe-uninitialized]
int ma=0,ind,point0,zero,nine;
^~~~~~
/tmp/ccb1VFN6.o: In function `main':
grader_bob.cpp:(.text.startup+0xd0): undefined reference to `Bob(int, int, int*, int*)'
collect2: error: ld returned 1 exit status