Borderou de evaluare (job #2865609)

Utilizator oana75Ioana Prunaru oana75 Data 8 martie 2022 23:03:23
Problema Arh Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void numar(int)': main.cpp:15:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 15 | st[k][i]=NULL; | ^~~~ main.cpp: In function 'void pal_par()': main.cpp:71:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 71 | st[k][i]=NULL; | ^~~~ main.cpp:110:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 110 | for(int i=0;i<=strlen(st[k])-1;i++) | ~^~~~~~~~~~~~~~~~~ main.cpp:118:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 118 | for(int i=0;i<=strlen(st[k])-1;i++) | ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void pal_impar()': main.cpp:129:18: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 129 | st[k][i]=NULL; | ^~~~ main.cpp:168:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 168 | for(int i=0;i<=strlen(st[k])-1;i++) | ~^~~~~~~~~~~~~~~~~ main.cpp:176:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 176 | for(int i=0;i<=strlen(st[k])-1;i++) | ~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void numar(int)': main.cpp:62:19: warning: 'char* strcat(char*, const char*)' accessing 1 or more bytes at offsets [0, 100001100001] and [0, 100001100001] may overlap 1 byte at offset [0, 9223372036854775807] [-Wrestrict] 62 | strcat(st[k-1],st[k]); | ~~~~~~^~~~~~~~~~~~~~~ /usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax collect2: error: ld returned 1 exit status Non zero exit status: 1

Ceva nu functioneaza?