Borderou de evaluare (job #3377481)

Utilizator cleo15Cleopatra cleo15 Data 23 noiembrie 2026 14:42:31
Problema Flux maxim Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int ek(int, int)': main.cpp:47:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 47 | for (int i = 0; i < drum.size() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:55:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 55 | for (int i = 0; i < drum.size() -1; i++) { | ~~^~~~~~~~~~~~~~~~ ./cc3e3kBb.o: in function `__tcf_0': main.cpp:(.text+0x5): relocation truncated to fit: R_X86_64_PC32 against symbol `G' defined in .bss section in ./cc3e3kBb.o ./cc3e3kBb.o: in function `ek(int, int)': main.cpp:(.text+0x16f): relocation truncated to fit: R_X86_64_PC32 against symbol `G' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text+0x1af): relocation truncated to fit: R_X86_64_PC32 against symbol `flux' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text+0x403): relocation truncated to fit: R_X86_64_PC32 against symbol `flux' defined in .bss section in ./cc3e3kBb.o ./cc3e3kBb.o: in function `main': main.cpp:(.text.startup+0xc): relocation truncated to fit: R_X86_64_PC32 against symbol `fin' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text.startup+0x65): relocation truncated to fit: R_X86_64_PC32 against symbol `G' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text.startup+0xdc): relocation truncated to fit: R_X86_64_PC32 against symbol `fin' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text.startup+0x273): relocation truncated to fit: R_X86_64_PC32 against symbol `fout' defined in .bss section in ./cc3e3kBb.o ./cc3e3kBb.o: in function `_GLOBAL__sub_I_fin': main.cpp:(.text.startup+0x474): relocation truncated to fit: R_X86_64_PC32 against `.bss' main.cpp:(.text.startup+0x49c): relocation truncated to fit: R_X86_64_PC32 against symbol `fin' defined in .bss section in ./cc3e3kBb.o main.cpp:(.text.startup+0x4c9): 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?