QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#148867#149. PerupenguinmanCompile Error//C++170b2023-08-23 19:42:552024-09-10 16:43:16

Judging History

你现在查看的是最新测评结果

  • [2024-09-10 16:43:16]
  • 管理员手动重测本题所有提交记录
  • [2023-08-23 20:31:33]
  • 评测
  • [2023-08-23 19:42:55]
  • 提交

answer


詳細信息

implementer.cpp: In function ‘char nextch()’:
implementer.cpp:15:31: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   15 |     if (pos == BUF_SIZE) fread(buf, BUF_SIZE, 1, fin), pos = 0;
      |                          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccluV7rW.o: in function `main':
implementer.cpp:(.text.startup+0x151): undefined reference to `solve(int, int, int*)'
collect2: error: ld returned 1 exit status