Borderou de evaluare (job #2981310)

Utilizator Chiri_Robert Chiributa Chiri_ Data 17 februarie 2023 18:01:17
Problema Palalila2 Status done
Runda simulare_oji_bv_11-12 Compilator cpp-64 | Vezi sursa
Scor 0

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
10ms184kbIncorect0
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
63ms184kbIncorect0
758ms446kbIncorect0
8217ms835kbIncorect0
9325ms835kbIncorect0
10328ms835kbIncorect0
Punctaj total0

Ceva nu functioneaza?