implementer.cpp: In function ‘int main()’:
implementer.cpp:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
22 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
/usr/bin/ld: /tmp/ccJKubrn.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/cca1CSas.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cca1CSas.o: in function `main':
implementer.cpp:(.text.startup+0x1ca): undefined reference to `init(int)'
/usr/bin/ld: implementer.cpp:(.text.startup+0x2c2): undefined reference to `inv(int)'
collect2: error: ld returned 1 exit status