wall.cpp: In function 'int main()':
wall.cpp:37:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(y == lis.size()) lis.emplace_back(-ar[i] + g);
| ~~^~~~~~~~~~~~~
/usr/bin/ld: /tmp/cc3hzzzn.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccttRDPm.o:wall.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc3hzzzn.o: in function `main':
grader.cpp:(.text.startup+0x133): undefined reference to `buildWall(int, int, int*, int*, int*, int*, int*)'
collect2: error: ld returned 1 exit status