gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
gondola.cpp: In function 'int countReplacement(int, int*)':
gondola.cpp:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/tmp/cc0GBaAf.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