Borderou de evaluare (job #2860729)

Utilizator dulap16Berechet Tudor dulap16 Data 2 martie 2022 23:53:36
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 8

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:30: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int j = 0; j < strlen(s[i]); j++) | ~~^~~~~~~~~~~~~~ main.cpp:25:29: warning: array subscript has type 'char' [-Wchar-subscripts] 25 | fr[i][s[i][j]]++; | ~~~~~~^ main.cpp:30:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 30 | if(maxi < strlen(s[i])) | ~~~~~^~~~~~~~~~~~~~ main.cpp:35:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 35 | else if(maxi == strlen(s[i])) | ~~~~~^~~~~~~~~~~~~~~ main.cpp:37:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 37 | for(int j = 0; j < strlen(s[i]); j++) | ~~^~~~~~~~~~~~~~ main.cpp:66:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 66 | for(int q = 0; q < strlen(s[i]); q++) | ~~^~~~~~~~~~~~~~ main.cpp:68:40: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | if(fr[i][s[i][q]] > fr[j][s[i][q]]) | ~~~~~~^ main.cpp:68:57: warning: array subscript has type 'char' [-Wchar-subscripts] 68 | if(fr[i][s[i][q]] > fr[j][s[i][q]]) | ~~~~~~^ main.cpp:87:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 87 | for(int q = 0; q < strlen(s[j]); q++) | ~~^~~~~~~~~~~~~~ main.cpp:89:40: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | if(fr[j][s[j][q]] > fr[i][s[j][q]]) | ~~~~~~^ main.cpp:89:57: warning: array subscript has type 'char' [-Wchar-subscripts] 89 | if(fr[j][s[j][q]] > fr[i][s[j][q]]) | ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
125ms1118kbIncorect.00
216ms1175kbIncorect.0
32ms184kbIncorect.0
411ms856kbIncorect.0
52ms184kbNumar de siruri incorect.00
659ms1200kbNumar de siruri incorect.00
72ms184kbNumar de siruri incorect.00
878ms892kbNumar de siruri incorect.00
9421ms2355kbOK.44
10136ms1556kbNumar de siruri incorect.00
11364ms2068kbOK.44
12238ms1376kbNumar de siruri incorect.00
13252ms1794kbNumar de siruri incorect.00
14199ms1568kbNumar de siruri incorect.00
15262ms1433kbNumar de siruri incorect.00
16267ms1695kbNumar de siruri incorect.00
17257ms1748kbNumar de siruri incorect.00
18411ms1437kbNumar de siruri incorect.00
19412ms1437kbNumar de siruri incorect.00
20388ms1437kbNumar de siruri incorect.00
21388ms1421kbNumar de siruri incorect.00
22417ms1425kbNumar de siruri incorect.00
Punctaj total8

Ceva nu functioneaza?