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