Borderou de evaluare (job #2860730)

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

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:68:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 68 | for(int q = 0; q < strlen(s[i]); q++) | ~~^~~~~~~~~~~~~~ main.cpp:70:44: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | if(fr[i][s[i][q]] > fr[j][s[i][q]]) | ~~~~~~^ main.cpp:70:61: warning: array subscript has type 'char' [-Wchar-subscripts] 70 | if(fr[i][s[i][q]] > fr[j][s[i][q]]) | ~~~~~~^ main.cpp:89:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 89 | for(int q = 0; q < strlen(s[j]); q++) | ~~^~~~~~~~~~~~~~ main.cpp:91:44: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | if(fr[j][s[j][q]] > fr[i][s[j][q]]) | ~~~~~~^ main.cpp:91:61: warning: array subscript has type 'char' [-Wchar-subscripts] 91 | if(fr[j][s[j][q]] > fr[i][s[j][q]]) | ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK.520
22ms184kbOK.5
32ms184kbOK.5
42ms184kbOK.5
52ms184kbNumar de siruri incorect.00
659ms1200kbNumar de siruri incorect.00
72ms184kbNumar de siruri incorect.00
878ms892kbNumar de siruri incorect.00
9417ms2052kbOK.44
10136ms1556kbNumar de siruri incorect.00
11363ms2179kbOK.44
12238ms1376kbNumar de siruri incorect.00
13248ms1400kbNumar de siruri incorect.00
14199ms1699kbNumar de siruri incorect.00
15262ms1437kbNumar de siruri incorect.00
16267ms1826kbNumar de siruri incorect.00
17257ms1695kbNumar de siruri incorect.00
18411ms1437kbNumar de siruri incorect.00
19412ms1437kbNumar de siruri incorect.00
20383ms1429kbNumar de siruri incorect.00
21388ms1421kbNumar de siruri incorect.00
22417ms1425kbNumar de siruri incorect.00
Punctaj total28

Ceva nu functioneaza?