Alice.cpp: In function 'void Bob(int, int, int*, int*)':
Alice.cpp:31:8: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
id[r] = id[t] = -1;
~~~~~~^~~~~~~~~~~~
Alice.cpp:21:9: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
int r, t;
^
/tmp/ccKOl2ul.o: In function `main':
grader_alice.cpp:(.text.startup+0xe1): undefined reference to `Alice(int, int, int*, int*)'
/tmp/ccU0EBF6.o: In function `Bob(int, int, int*, int*)':
Alice.cpp:(.text+0x557): undefined reference to `InitMap(int, int)'
Alice.cpp:(.text+0x573): undefined reference to `MakeMap(int, int)'
Alice.cpp:(.text+0x5c5): undefined reference to `InitMap(int, int)'
collect2: error: ld returned 1 exit status
/tmp/ccNoTykf.o: In function `main':
grader_bob.cpp:(.text.startup+0xcd): undefined reference to `Bob(int, int, int*, int*)'
/tmp/ccfFPtO6.o: In function `Alice(int, int, int*, int*)':
Bob.cpp:(.text+0x1b6): undefined reference to `InitG(int, int)'
Bob.cpp:(.text+0x1ef): undefined reference to `MakeG(int, int, int)'
collect2: error: ld returned 1 exit status