Pagini recente » Borderou de evaluare (job #2333684) | Cod sursa (job #1634246) | Borderou de evaluare (job #2954142) | Borderou de evaluare (job #215249) | Borderou de evaluare (job #2860729)
Borderou de evaluare (job #2860729)
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 |
| 1 | 25ms | 1118kb | Incorect. | 0 | 0 |
| 2 | 16ms | 1175kb | Incorect. | 0 |
| 3 | 2ms | 184kb | Incorect. | 0 |
| 4 | 11ms | 856kb | Incorect. | 0 |
| 5 | 2ms | 184kb | Numar de siruri incorect. | 0 | 0 |
| 6 | 59ms | 1200kb | Numar de siruri incorect. | 0 | 0 |
| 7 | 2ms | 184kb | Numar de siruri incorect. | 0 | 0 |
| 8 | 78ms | 892kb | Numar de siruri incorect. | 0 | 0 |
| 9 | 421ms | 2355kb | OK. | 4 | 4 |
| 10 | 136ms | 1556kb | Numar de siruri incorect. | 0 | 0 |
| 11 | 364ms | 2068kb | OK. | 4 | 4 |
| 12 | 238ms | 1376kb | Numar de siruri incorect. | 0 | 0 |
| 13 | 252ms | 1794kb | Numar de siruri incorect. | 0 | 0 |
| 14 | 199ms | 1568kb | Numar de siruri incorect. | 0 | 0 |
| 15 | 262ms | 1433kb | Numar de siruri incorect. | 0 | 0 |
| 16 | 267ms | 1695kb | Numar de siruri incorect. | 0 | 0 |
| 17 | 257ms | 1748kb | Numar de siruri incorect. | 0 | 0 |
| 18 | 411ms | 1437kb | Numar de siruri incorect. | 0 | 0 |
| 19 | 412ms | 1437kb | Numar de siruri incorect. | 0 | 0 |
| 20 | 388ms | 1437kb | Numar de siruri incorect. | 0 | 0 |
| 21 | 388ms | 1421kb | Numar de siruri incorect. | 0 | 0 |
| 22 | 417ms | 1425kb | Numar de siruri incorect. | 0 | 0 |
| Punctaj total | 8 |