Borderou de evaluare (job #3353305)

Utilizator mrvalentynTime Limit Exceeded mrvalentyn Data 5 mai 2026 23:35:34
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In instantiation of 'void Heap<T>::pop() [with T = std::pair<int, int>]': main.cpp:92:23: required from here main.cpp:57:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 57 | if(st < v.size() && v[st] < v[mxi]) mxi = st; | ~~~^~~~~~~~~~ main.cpp:59:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | if(dr < v.size() && v[dr] < v[mxi]) mxi = dr; | ~~~^~~~~~~~~~ ./ccAJ9V8T.o: in function `djik(int, int, int (*) [50001])': main.cpp:(.text+0x177): relocation truncated to fit: R_X86_64_PC32 against symbol `std::cout' defined in .bss._ZSt4cout section in /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/libstdc++.a(globals_io.o) ./ccAJ9V8T.o: in function `main': main.cpp:(.text.startup+0x5): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0x13): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0x3e): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0x4c): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0xb0): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0xbb): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccAJ9V8T.o ./ccAJ9V8T.o: in function `_GLOBAL__sub_I_di': main.cpp:(.text.startup+0x105): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in ./ccAJ9V8T.o main.cpp:(.text.startup+0x11e): relocation truncated to fit: R_X86_64_PC32 against `.bss' main.cpp:(.text.startup+0x1b6): relocation truncated to fit: R_X86_64_PC32 against symbol `g' defined in .bss section in ./ccAJ9V8T.o /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): additional relocation overflows omitted from the output /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+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?