QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#693081#7181. Graph Cutsucup-team2462Compile Error//C++174.3kb2024-10-31 15:30:142024-10-31 15:30:15

Details

answer.code: In function ‘int main()’:
answer.code:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   13 |     scanf("%d%d", &n, &m);
      |     ~~~~~^~~~~~~~~~~~~~~~
answer.code:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   15 |         int x, y; scanf("%d%d", &x, &y);
      |                   ~~~~~^~~~~~~~~~~~~~~~
answer.code:33:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   33 |     scanf("%d", &q);
      |     ~~~~~^~~~~~~~~~
answer.code:36:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   36 |         scanf("%c", &op);
      |         ~~~~~^~~~~~~~~~~
answer.code:40:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   40 |                 scanf("%d", &u);
      |                 ~~~~~^~~~~~~~~~
/tmp/ccbwQjlj.o: in function `__tcf_0':
answer.code:(.text+0x29): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in /tmp/ccbwQjlj.o
/tmp/ccbwQjlj.o: in function `__tcf_1':
answer.code:(.text+0x109): relocation truncated to fit: R_X86_64_PC32 against symbol `gge' defined in .bss section in /tmp/ccbwQjlj.o
/tmp/ccbwQjlj.o: in function `main':
answer.code:(.text.startup+0x8c): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x2e9): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x2f0): relocation truncated to fit: R_X86_64_PC32 against symbol `gge' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x372): relocation truncated to fit: R_X86_64_PC32 against symbol `ges' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x379): relocation truncated to fit: R_X86_64_PC32 against symbol `ges' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x38c): relocation truncated to fit: R_X86_64_PC32 against symbol `ges' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x754): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0x8e7): relocation truncated to fit: R_X86_64_PC32 against symbol `gge' defined in .bss section in /tmp/ccbwQjlj.o
answer.code:(.text.startup+0xa17): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status