QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#512772 | #5. 在线 O(1) 逆元 | wzj33300 | Compile Error | / | / | C++23 | 145b | 2024-08-10 15:43:39 | 2024-08-10 15:43:39 |
Judging History
你现在查看的是测评时间为 2024-08-10 15:43:39 的历史记录
- [2024-11-05 22:03:01]
- 管理员手动重测本题所有提交记录
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2024-08-10 15:43:39]
- 评测
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2024-08-10 15:43:39]
- 提交
answer
//Test 1
#include<cstdio>
using namespace std;
int main(){
int a=1000000000,b=1;
while(a)b<<=1,a--;
printf("%d\n",b);
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/cca6kcA9.o: in function `main': answer.code:(.text.startup+0x0): multiple definition of `main'; /tmp/ccvj1eG6.o:implementer.cpp:(.text.startup+0x0): first defined here /usr/bin/ld: /tmp/ccvj1eG6.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