Problem mosaic3
User yc
Submission Time 2025-12-19 11:33:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

/usr/bin/ld: /tmp/cco4xbzD.o: in function `main':
mosaic3.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccG0bMsA.o:grader.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccG0bMsA.o: in function `main':
grader.cpp:(.text.startup+0x256): undefined reference to `mosaic3(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
/usr/bin/ld: /tmp/cco4xbzD.o: in function `main':
mosaic3.cpp:(.text.startup+0x256): undefined reference to `mosaic3(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<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