Borderou de evaluare (job #3170521)

Utilizator AlexMotoascaMotoasca Alexandru AlexMotoasca Data 17 noiembrie 2023 18:52:26
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void lsp()': main.cpp:13:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 13 | while(i<string1.size()) | ~^~~~~~~~~~~~~~~ main.cpp: In function 'void kmp()': main.cpp:33:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | while(i<=pattern.size()) | ~^~~~~~~~~~~~~~~~ main.cpp:40:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 40 | if(j==string1.size()) | ~^~~~~~~~~~~~~~~~ /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(locale.o): in function `std::locale::facet::_S_initialize_once()': (.text._ZNSt6locale5facet18_S_initialize_onceEv+0xe): failed to convert GOTPCREL relocation against '_ZNSt6locale5facet11_S_c_localeE'; relink with --no-relax collect2: error: ld returned 1 exit status Non zero exit status: 1

Ceva nu functioneaza?