Pagini recente » Borderou de evaluare (job #2519099) | Borderou de evaluare (job #173957) | Borderou de evaluare (job #941997) | Borderou de evaluare (job #3130587) | Borderou de evaluare (job #2860730)
Borderou de evaluare (job #2860730)
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 |
1 | 2ms | 184kb | OK. | 5 | 20 |
2 | 2ms | 184kb | OK. | 5 |
3 | 2ms | 184kb | OK. | 5 |
4 | 2ms | 184kb | OK. | 5 |
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 | 417ms | 2052kb | OK. | 4 | 4 |
10 | 136ms | 1556kb | Numar de siruri incorect. | 0 | 0 |
11 | 363ms | 2179kb | OK. | 4 | 4 |
12 | 238ms | 1376kb | Numar de siruri incorect. | 0 | 0 |
13 | 248ms | 1400kb | Numar de siruri incorect. | 0 | 0 |
14 | 199ms | 1699kb | Numar de siruri incorect. | 0 | 0 |
15 | 262ms | 1437kb | Numar de siruri incorect. | 0 | 0 |
16 | 267ms | 1826kb | Numar de siruri incorect. | 0 | 0 |
17 | 257ms | 1695kb | 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 | 383ms | 1429kb | 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 | 28 |