Borderou de evaluare (job #2999423)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:12: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | f[msg[i]] ++;
| ~~~~~^
main.cpp:58:18: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | inv = 2 * (f[sh] + f[reverse(sh)]);
| ^~
main.cpp:68:20: warning: array subscript has type 'char' [-Wchar-subscripts]
68 | x += inv - f[sh];
| ^~
main.cpp:70:20: warning: array subscript has type 'char' [-Wchar-subscripts]
70 | x += inv - f[osh];
| ^~~
main.cpp:74:14: warning: array subscript has type 'char' [-Wchar-subscripts]
74 | x += f[sh];
| ^~
main.cpp:76:14: warning: array subscript has type 'char' [-Wchar-subscripts]
76 | x += f[osh];
| ^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | Partial corect | 2 |
3 | 0ms | 184kb | Partial corect | 2 |
4 | 0ms | 184kb | Partial corect | 2 |
5 | 47ms | 430kb | Partial corect | 2 |
6 | 83ms | 520kb | Partial corect | 2 |
7 | 116ms | 491kb | Partial corect | 2 |
8 | 155ms | 483kb | Partial corect | 2 |
9 | 0ms | 184kb | Partial corect | 2 |
10 | 0ms | 184kb | Partial corect | 2 |
11 | 0ms | 184kb | Partial corect | 2 |
12 | 1ms | 184kb | Corect | 5 |
13 | 803ms | 434kb | Time limit exceeded | 0 |
14 | 668ms | 724kb | Partial corect | 2 |
15 | 802ms | 483kb | Time limit exceeded | 0 |
16 | 802ms | 499kb | Time limit exceeded | 0 |
17 | 802ms | 638kb | Time limit exceeded | 0 |
18 | 805ms | 643kb | Time limit exceeded | 0 |
19 | 800ms | 638kb | Time limit exceeded | 0 |
Punctaj total | 27 |