QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#44984#4561. Catfish FarmGuanYunchangCompile Error//C++171.2kb2022-08-22 12:12:012022-08-22 12:12:02

Details

answer.code: In function ‘long long int max_weights(int, int, int*, int*, int*)’:
answer.code:43:1: warning: control reaches end of non-void function [-Wreturn-type]
   43 | }
      | ^
/tmp/ccnBVKem.o: In function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'
/tmp/ccatGxpg.o:implementer.cpp:(.text.startup+0x0): first defined here
/tmp/ccatGxpg.o: In function `main':
implementer.cpp:(.text.startup+0x27f): undefined reference to `max_weights(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