Borderou de evaluare (job #2976339)

Utilizator Paul0516Berindeie Paul Paul0516 Data 8 februarie 2023 23:00:48
Problema PalM Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void ver_imp(int, int&, int&, int&)': main.cpp:28:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 28 | if (i - 1 <= 0 || i + 1 > strlen(s)) | ~~~~~~^~~~~~~~~~~ main.cpp: In function 'void ver_par(int, int&, int&, int&)': main.cpp:53:33: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 53 | if (i - 1 <= 0 || i + 1 > strlen(s)) | ~~~~~~^~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:76:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 76 | for (int i = 0; i < strlen(s); i++) | ~~^~~~~~~~~~~ main.cpp:74:70: warning: variable 'afis1' set but not used [-Wunused-but-set-variable] 74 | int ind1, ind2, ind3, ind4, lungime_imp, lungime_par, maxi = -1, afis1, afis2; | ^~~~~ main.cpp:74:77: warning: variable 'afis2' set but not used [-Wunused-but-set-variable] 74 | int ind1, ind2, ind3, ind4, lungime_imp, lungime_par, maxi = -1, afis1, afis2; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect0
70ms184kbIncorect0
80ms184kbIncorect0
90ms184kbIncorect0
100ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?