swap.cpp: In function 'void init(int, int, int*, int*, int*)':
swap.cpp:23:15: warning: variable 'M' set but not used [-Wunused-but-set-variable]
23 | for (auto M : mins) M = INT_MAX;
| ^
/usr/bin/ld: /tmp/ccku9mG3.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccHaWE31.o:swap.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccku9mG3.o: in function `main':
grader.cpp:(.text.startup+0x1c3): undefined reference to `init(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status