Pagini recente » Borderou de evaluare (job #3226467) | Borderou de evaluare (job #400449) | Borderou de evaluare (job #2346596) | Borderou de evaluare (job #2924334) | Borderou de evaluare (job #3253524)
Borderou de evaluare (job #3253524)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:28: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | if (fr[s[i]] == 0) b[++m] = s[i];
| ^
main.cpp:22:24: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | fr[s[i]]++;
| ^
main.cpp:29:34: warning: array subscript has type 'char' [-Wchar-subscripts]
29 | fin >> putere[b[i]];
| ~~~^
main.cpp:30:31: warning: array subscript has type 'char' [-Wchar-subscripts]
30 | if (putere[b[i]] > Max)
| ~~~^
main.cpp:32:41: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | Max = putere[b[i]];
| ~~~^
main.cpp:36:20: warning: array subscript has type 'char' [-Wchar-subscripts]
36 | fout << fr[ch] << "\n";
| ^~
main.cpp:40:52: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | a[i].first = min(n, i + putere[s[i]]);
| ^
main.cpp:41:53: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | a[i].second = max(1, i - putere[s[i]]);
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |