Borderou de evaluare (job #3336309)

Utilizator CRACIUNESCUalexCraciunescu Cristian Alexandru CRACIUNESCUalex Data 24 ianuarie 2026 15:36:12
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void bfs(int)': main.cpp:28:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 28 | if (v.size()==n){ | ~~~~~~~~^~~ main.cpp:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 29 | for (int i=0;i<v.size();i++) { | ~^~~~~~~~~ ./ccQJpwJp.o: in function `_GLOBAL__sub_I_a': main.cpp:(.text.startup+0x2dc): relocation truncated to fit: R_X86_64_PC32 against `.bss' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(vterminate.o): in function `__gnu_cxx::__verbose_terminate_handler()': (.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x1e): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating' (.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x2b): relocation truncated to fit: R_X86_64_PC32 against `.bss._ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating' /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(ios_init.o): in function `std::ios_base::Init::Init()': (.text._ZNSt8ios_base4InitC2Ev+0x1c): failed to convert GOTPCREL relocation against '_ZNSt8ios_base4Init11_S_refcountE'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x57): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x5e): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x69): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x74): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0x98): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xa3): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xc0): relocation truncated to fit: R_X86_64_PC32 against symbol `__gnu_internal::buf_cout_sync' defined in .bss._ZN14__gnu_internal13buf_cout_syncE section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) (.text._ZNSt8ios_base4InitC2Ev+0xd9): additional relocation overflows omitted from the output (.text._ZNSt8ios_base4InitC2Ev+0x1e8): failed to convert GOTPCREL relocation against '_ZSt4cout'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x250): failed to convert GOTPCREL relocation against '_ZSt3cin'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x2c3): failed to convert GOTPCREL relocation against '_ZSt4cerr'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x319): failed to convert GOTPCREL relocation against '_ZSt4clog'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x513): failed to convert GOTPCREL relocation against '_ZSt5wcout'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x584): failed to convert GOTPCREL relocation against '_ZSt4wcin'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x601): failed to convert GOTPCREL relocation against '_ZSt5wcerr'; relink with --no-relax (.text._ZNSt8ios_base4InitC2Ev+0x65f): failed to convert GOTPCREL relocation against '_ZSt5wclog'; relink with --no-relax collect2: error: ld returned 1 exit status Non zero exit status: 1

Ceva nu functioneaza?