QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#466023#5029. 在路上adam01Compile Error//C++14838b2024-07-07 14:52:132024-07-07 14:52:13

Details

implementer.cpp: In function ‘int main()’:
implementer.cpp:60:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   60 |         fread(Interactor::rbuf,1,50000000,stdin);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccu3qUTw.o: in function `main':
implementer.cpp:(.text.startup+0x270): undefined reference to `centroid(int, int, int)'
/usr/bin/ld: /tmp/ccLhPFtz.o: in function `centroid':
answer.code:(.text+0x138): undefined reference to `ask'
collect2: error: ld returned 1 exit status