gondola.cpp: In function 'int valid(int, int*)':
gondola.cpp:12:20: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
12 | if(vals.size() != n){
| ~~~~~~~~~~~~^~~~
/usr/bin/ld: /tmp/ccK7weSf.o: in function `main':
grader.cpp:(.text.startup+0xb6): undefined reference to `valid'
/usr/bin/ld: grader.cpp:(.text.startup+0x108): undefined reference to `countReplacement'
/usr/bin/ld: grader.cpp:(.text.startup+0x132): undefined reference to `replacement'
collect2: error: ld returned 1 exit status