Pagini recente » Borderou de evaluare (job #498786) | Borderou de evaluare (job #2218872) | Borderou de evaluare (job #3269642) | Borderou de evaluare (job #3252032) | Borderou de evaluare (job #3220584)
Borderou de evaluare (job #3220584)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > flip(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:20:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
20 | return std::move(newMat);
| ~~~~~~~~~^~~~~~~~
main.cpp:20:21: note: remove 'std::move' call
main.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > addAsterisk(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:31:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
31 | return std::move(finalMat);
| ~~~~~~~~~^~~~~~~~~~
main.cpp:31:21: note: remove 'std::move' call
main.cpp: In function 'std::vector<int> manacher(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:38: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]
38 | for(int i=0; i<mat.size(); ++i)
| ~^~~~~~~~~~~
main.cpp:42:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | while(i+man[i]<man.size() && i-man[i]>=0 && mat[i+man[i]]==mat[i-man[i]])
| ~~~~~~~~^~~~~~~~~~~
main.cpp:50:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
50 | return std::move(man);
| ~~~~~~~~~^~~~~
main.cpp:50:21: note: remove 'std::move' call
main.cpp: In function 'std::vector<int> getVec(std::vector<int>)':
main.cpp:57:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int i=0; i<man.size(); i+=2)
| ~^~~~~~~~~~~
main.cpp:63:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
63 | return std::move(ans);
| ~~~~~~~~~^~~~~
main.cpp:63:21: note: remove 'std::move' call
main.cpp: In function 'long long int solve(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:75:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for(int i=1; i<left.size(); ++i)
| ~^~~~~~~~~~~~
main.cpp:80:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
80 | 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 | 2674kb | Incorect | 0 |
8 | 5ms | 3747kb | Ok | 5 |
9 | 2ms | 1605kb | Incorect | 0 |
10 | 1ms | 1400kb | Incorect | 0 |
11 | 4ms | 3190kb | Incorect | 0 |
12 | 4ms | 3702kb | Incorect | 0 |
13 | 5ms | 4304kb | Ok | 5 |
14 | 6ms | 5537kb | Ok | 5 |
15 | 9ms | 10506kb | Incorect | 0 |
16 | 9ms | 11923kb | Incorect | 0 |
17 | 9ms | 11415kb | Incorect | 0 |
18 | 9ms | 9969kb | Incorect | 0 |
19 | 9ms | 10752kb | Incorect | 0 |
20 | 64ms | 100581kb | Incorect | 0 |
Punctaj total | 30 |