QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#411328#6527. CyberlandBellaKiraCompile Error//C++232.2kb2024-05-15 11:38:172024-05-15 11:38:19

Details

answer.code:80:3: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
   80 | }}main(){BK0717::main();}
      |   ^~~~
/usr/bin/ld: /tmp/ccPDhKTc.o: in function `main':
answer.code:(.text.startup+0x330): multiple definition of `main'; /tmp/ccoSoHMc.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccoSoHMc.o: in function `main':
implementer.cpp:(.text.startup+0x6a4): undefined reference to `solve(int, int, int, 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