friend.cpp: In function 'int main()':
friend.cpp:12:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
friend.cpp:14:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
friend.cpp:18:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
friend.cpp:19:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
/tmp/ccr1kW58.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccRaVZZb.o:friend.cpp:(.text.startup+0x0): first defined here
/tmp/ccr1kW58.o:(.bss+0x0): multiple definition of `protocol'
/tmp/ccRaVZZb.o:(.bss+0xc3520): first defined here
/usr/bin/ld: Warning: size of symbol `protocol' changed from 400004 in /tmp/ccRaVZZb.o to 400008 in /tmp/ccr1kW58.o
/tmp/ccr1kW58.o:(.bss+0x61aa0): multiple definition of `host'
/tmp/ccRaVZZb.o:(.bss+0x124fc0): first defined here
/usr/bin/ld: Warning: size of symbol `host' changed from 400004 in /tmp/ccRaVZZb.o to 400008 in /tmp/ccr1kW58.o
/tmp/ccr1kW58.o: In function `main':
grader.cpp:(.text.startup+0xa9): undefined reference to `findSample(int, int*, int*, int*)'
collect2: ld returned 1 exit status