QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#411793 | #6748. Spin the Wheel | ZhangYiDe | Compile Error | / | / | C++20 | 1.9kb | 2024-05-15 19:36:59 | 2024-05-15 19:36:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In function ‘int main()’: answer.code:83:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ answer.code:85:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 85 | scanf("%d", &target[i]); | ~~~~~^~~~~~~~~~~~~~~~~~ /tmp/ccvJwRFV.o: in function `are_equal(int*, int*)': answer.code:(.text+0x7): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvJwRFV.o /tmp/ccvJwRFV.o: in function `increment(State*)': answer.code:(.text+0x46): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvJwRFV.o /tmp/ccvJwRFV.o: in function `spin(State*)': answer.code:(.text+0x7f): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvJwRFV.o /tmp/ccvJwRFV.o: in function `bfs()': answer.code:(.text+0x10c): relocation truncated to fit: R_X86_64_PC32 against symbol `target' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text+0x179): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text+0x18c): relocation truncated to fit: R_X86_64_PC32 against symbol `visited' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text+0x288): relocation truncated to fit: R_X86_64_PC32 against symbol `visited' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text+0x333): relocation truncated to fit: R_X86_64_PC32 against symbol `visited' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text+0x344): relocation truncated to fit: R_X86_64_PC32 against symbol `visited' defined in .bss section in /tmp/ccvJwRFV.o /tmp/ccvJwRFV.o: in function `main': answer.code:(.text.startup+0x10): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccvJwRFV.o answer.code:(.text.startup+0x22): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status