Problem swap
User chenweilian
Submission Time 2023-08-15 19:50:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccEohrsb.o: in function `main':
swap.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccnSLknd.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccnSLknd.o: in function `main':
grader.cpp:(.text.startup+0x1a8): undefined reference to `init(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: grader.cpp:(.text.startup+0x214): undefined reference to `getMinimumFuelCapacity(int, int)'
collect2: error: ld returned 1 exit status