Problem graphcraft
User Josh28acc2
Submission Time 2024-01-05 15:41:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/ccT2FaGO.o: in function `main':
graphcraft.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccLCnAIR.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccLCnAIR.o: in function `main':
grader.cpp:(.text.startup+0x125): undefined reference to `graphcraft(int, int, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >*)'
collect2: error: ld returned 1 exit status