Pagini recente » Borderou de evaluare (job #2071955) | Borderou de evaluare (job #2282496) | Borderou de evaluare (job #2588634) | Borderou de evaluare (job #2813688)
Borderou de evaluare (job #2813688)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0 ; i < s.size() ; ++ i)
| ~~^~~~~~~~~~
main.cpp:19:19: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | p[s[i]].push_back(i);
| ^
main.cpp:20:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i = 0 ; i < s.size() ; ++ i){
| ~~^~~~~~~~~~
main.cpp:22:40: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | if(s[i] != l && ind[l] < p[l].size()){
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 151ms | 1536kb | Incorect | 0 |
Punctaj total | 0 |