QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#479740#5. 在线 O(1) 逆元bpoj_bot1Compile Error//C++1480b2024-07-15 20:37:522024-11-05 22:00:28

Judging History

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

  • [2024-11-05 22:00:28]
  • 管理员手动重测本题所有提交记录
  • [2024-07-15 20:37:53]
  • 评测
  • [2024-07-15 20:37:52]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
int main()
{while(1);return 0;}

Details

implementer.cpp: In function ‘int main()’:
implementer.cpp:22:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   22 |         scanf("%d", &n);
      |         ~~~~~^~~~~~~~~~
/usr/bin/ld: /tmp/ccUnIHOf.o: in function `main':
answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccyFI9vh.o:implementer.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccyFI9vh.o: in function `main':
implementer.cpp:(.text.startup+0x12b): undefined reference to `init(int)'
/usr/bin/ld: implementer.cpp:(.text.startup+0x1d0): undefined reference to `inv(int)'
collect2: error: ld returned 1 exit status