Pagini recente » Borderou de evaluare (job #2584932) | Borderou de evaluare (job #827151) | Borderou de evaluare (job #1589295) | Borderou de evaluare (job #3131799) | Borderou de evaluare (job #2981310)
Borderou de evaluare (job #2981310)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:16:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for (int i = 0; i < s.size(); i++) {
| ~~^~~~~~~~~~
main.cpp:18:25: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | l2cresc[s[i]] = max(l2cresc[s[i]], l1scad[j] + 1);
| ^
main.cpp:18:45: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | l2cresc[s[i]] = max(l2cresc[s[i]], l1scad[j] + 1);
| ^
main.cpp:21:24: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | l2scad[s[i]] = max(l2scad[s[i]], l1cresc[j] + 1);
| ^
main.cpp:21:43: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | l2scad[s[i]] = max(l2scad[s[i]], l1cresc[j] + 1);
| ^
main.cpp:23:42: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | lmax = max(lmax, max(l2cresc[s[i]], l2scad[s[i]]));
| ^
main.cpp:23:56: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | lmax = max(lmax, max(l2cresc[s[i]], l2scad[s[i]]));
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 3ms | 184kb | Incorect | 0 |
7 | 58ms | 446kb | Incorect | 0 |
8 | 217ms | 835kb | Incorect | 0 |
9 | 325ms | 835kb | Incorect | 0 |
10 | 328ms | 835kb | Incorect | 0 |
Punctaj total | 0 |