Borderou de evaluare (job #3377476)

Utilizator andreiapPopescu Andrei andreiap Data 23 noiembrie 2026 14:41:29
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:50:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 50 | for (int i = 0; i < drum.size() - 1; i ++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp:59:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 59 | for ( int i = 0; i < drum.size() - 1; i ++ ) { | ~~^~~~~~~~~~~~~~~~~ ./ccMAebqr.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 ./ccMAebqr.o ./ccMAebqr.o: in function `ek(int, int)': main.cpp:(.text+0x7e): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccMAebqr.o main.cpp:(.text+0x16f): relocation truncated to fit: R_X86_64_PC32 against symbol `G' defined in .bss section in ./ccMAebqr.o main.cpp:(.text+0x1af): relocation truncated to fit: R_X86_64_PC32 against symbol `flux' defined in .bss section in ./ccMAebqr.o main.cpp:(.text+0x403): relocation truncated to fit: R_X86_64_PC32 against symbol `flux' defined in .bss section in ./ccMAebqr.o ./ccMAebqr.o: in function `main': main.cpp:(.text.startup+0x66): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in ./ccMAebqr.o main.cpp:(.text.startup+0x78): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccMAebqr.o main.cpp:(.text.startup+0x8f): relocation truncated to fit: R_X86_64_PC32 against symbol `G' defined in .bss section in ./ccMAebqr.o main.cpp:(.text.startup+0xab): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccMAebqr.o main.cpp:(.text.startup+0x114): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in ./ccMAebqr.o main.cpp:(.text.startup+0x270): 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?