QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#411180#6528. SequenceBellaKiraCompile Error//C++231.2kb2024-05-15 08:29:552024-05-15 08:29:55

Details

answer.code:49:3: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
   49 | }}main(){BK0717::main();}
      |   ^~~~
/usr/bin/ld: /tmp/ccY3FIbO.o: in function `main':
answer.code:(.text.startup+0x30): multiple definition of `main'; /tmp/ccnzIVAN.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccnzIVAN.o: in function `main':
implementer.cpp:(.text.startup+0x2ab): undefined reference to `sequence(int, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status