Borderou de evaluare (job #3220589)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > flip(std::vector<std::__cxx11::basic_string<char> >&)':
main.cpp:12:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=0; i<mat.size(); ++i)
| ~^~~~~~~~~~~
main.cpp:13:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int j=0; j<mat[i].size(); ++j)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'std::vector<int> manacher(std::vector<std::__cxx11::basic_string<char> >&)':
main.cpp:34:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for(int i=0; i<mat.size(); ++i)
| ~^~~~~~~~~~~
main.cpp:38:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while(i+man[i]<man.size() && i-man[i]>=0 && mat[i+man[i]]==mat[i-man[i]])
| ~~~~~~~~^~~~~~~~~~~
main.cpp: In function 'std::vector<int> getVec(std::vector<int>&)':
main.cpp:55:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int i=0; i<man.size(); i+=2)
| ~^~~~~~~~~~~
main.cpp:61:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
61 | return std::move(ans);
| ~~~~~~~~~^~~~~
main.cpp:61:21: note: remove 'std::move' call
main.cpp: In function 'long long int solve(std::vector<std::__cxx11::basic_string<char> >&)':
main.cpp:79:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for(int i=1; i<left.size(); ++i)
| ~^~~~~~~~~~~~
main.cpp:83:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i=1; i<right.size(); ++i)
| ~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Ok | 5 |
2 | 0ms | 303kb | Ok | 5 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Ok | 5 |
7 | 3ms | 2060kb | Incorect | 0 |
8 | 4ms | 2461kb | Ok | 5 |
9 | 1ms | 1081kb | Incorect | 0 |
10 | 1ms | 1040kb | Incorect | 0 |
11 | 3ms | 2183kb | Incorect | 0 |
12 | 3ms | 2478kb | Incorect | 0 |
13 | 4ms | 2740kb | Ok | 5 |
14 | 6ms | 4382kb | Ok | 5 |
15 | 5ms | 4624kb | Incorect | 0 |
16 | 5ms | 4493kb | Incorect | 0 |
17 | 5ms | 4640kb | Incorect | 0 |
18 | 5ms | 4874kb | Incorect | 0 |
19 | 5ms | 4874kb | Incorect | 0 |
20 | 14ms | 33583kb | Incorect | 0 |
Punctaj total | 30 |