QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#835256 | #969. Discrete Logarithm is a Joke | ZhaoZiLong | Compile Error | / | / | C++17 | 364b | 2024-12-28 10:48:45 | 2024-12-28 10:48:46 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:11:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] 11 | scanf("%d",&n); | ~^ ~~ | | | | | long long int* | int* | %lld answer.code:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d",&n); | ~~~~~^~~~~~~~~ /tmp/ccJ4IWf3.o: in function `main': answer.code:(.text.startup+0x8): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccJ4IWf3.o answer.code:(.text.startup+0x69): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccJ4IWf3.o collect2: error: ld returned 1 exit status