QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#786686#5018. nthVeeonCompile Error//C++231.3kb2024-11-26 22:52:012024-11-26 22:52:20

Details

implementer.cpp: In function ‘int main()’:
implementer.cpp:59:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   59 |         read(A),read(B),scanf("%u",&c);
      |                         ~~~~~^~~~~~~~~
implementer.cpp: In function ‘void {anonymous}::read(std::bitset<2097152>&)’:
implementer.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   11 |                 scanf("%s",str);
      |                 ~~~~~^~~~~~~~~~
/usr/bin/ld: /tmp/ccBoUmf8.o: in function `main':
implementer.cpp:(.text.startup+0x1c6): undefined reference to `Bob::initB(std::bitset<2097152ul>, unsigned int, unsigned int)'
collect2: error: ld returned 1 exit status