gondola.cpp: In function 'int main()':
gondola.cpp:59:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("in.txt", "r", stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
gondola.cpp:60:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("outt.txt", "w", stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/ccU1Fx44.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccqM32lr.o:gondola.cpp:(.text.startup+0x0): first defined here
/tmp/ccU1Fx44.o:(.bss+0xf4260): multiple definition of `gondolaSequence'
/tmp/ccqM32lr.o:(.bss+0xf4260): first defined here
/tmp/ccU1Fx44.o:(.bss+0x0): multiple definition of `replacementSequence'
/tmp/ccqM32lr.o:(.bss+0x0): first defined here
/tmp/ccU1Fx44.o: In function `main':
grader.cpp:(.text.startup+0xc3): undefined reference to `countReplacement'
grader.cpp:(.text.startup+0xe2): undefined reference to `valid'
grader.cpp:(.text.startup+0x106): undefined reference to `replacement'
collect2: error: ld returned 1 exit status