Pagini recente » Cod sursa (job #3231523) | Borderou de evaluare (job #3191836) | Borderou de evaluare (job #1769673) | Cod sursa (job #2651447) | Borderou de evaluare (job #3146035)
Borderou de evaluare (job #3146035)
Raport evaluator
Compilare:
main.cpp: In function 'void detc()':
main.cpp:18:15: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
18 | while (pos>n){
| ~~~^~
main.cpp:21:19: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
21 | if (pv==n){
| ~~^~~
main.cpp:39:19: warning: comparison of integer expressions of different signedness: 'ull' {aka 'long long unsigned int'} and 'int' [-Wsign-compare]
39 | if (pv==n){
| ~~^~~
main.cpp:61:31: warning: array subscript has type 'char' [-Wchar-subscripts]
61 | sol+=sp[pos-1][tr[s[pos-1]]];
| ^
main.cpp:64:23: warning: array subscript has type 'char' [-Wchar-subscripts]
64 | a+=sp[n-1][tr[ch]];
| ^~
main.cpp:65:23: warning: array subscript has type 'char' [-Wchar-subscripts]
65 | b+=sp[n-1][tr[nch]];
| ^~~
main.cpp:68:23: warning: array subscript has type 'char' [-Wchar-subscripts]
68 | b+=sp[n-1][tr[ch]];
| ^~
main.cpp:69:23: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | a+=sp[n-1][tr[nch]];
| ^~~
main.cpp: In function 'int main()':
main.cpp:82:18: warning: array subscript has type 'char' [-Wchar-subscripts]
82 | sp[0][tr[s[0]]]=1;
| ^
main.cpp:88:22: warning: array subscript has type 'char' [-Wchar-subscripts]
88 | sp[i][tr[s[i]]]++;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect | 10 |
2 | 0ms | 303kb | Corect | 5 |
3 | 0ms | 303kb | Corect | 5 |
4 | 0ms | 303kb | Corect | 5 |
5 | 4ms | 1081kb | Corect | 5 |
6 | 5ms | 1609kb | Corect | 5 |
7 | 4ms | 1605kb | Corect | 5 |
8 | 6ms | 2129kb | Corect | 5 |
9 | 0ms | 823kb | Corect | 5 |
10 | 1ms | 1081kb | Corect | 5 |
11 | 1ms | 819kb | Corect | 5 |
12 | 1ms | 1081kb | Corect | 5 |
13 | 9ms | 5537kb | Corect | 5 |
14 | 9ms | 8945kb | Corect | 5 |
15 | 19ms | 17711kb | Corect | 5 |
16 | 19ms | 21286kb | Corect | 5 |
17 | 24ms | 22679kb | Corect | 5 |
18 | 29ms | 24068kb | Corect | 5 |
19 | 34ms | 25444kb | Corect | 5 |
Punctaj total | 100 |