Pagini recente » Borderou de evaluare (job #2568121) | Borderou de evaluare (job #2545996) | Borderou de evaluare (job #1939560) | Borderou de evaluare (job #2190605) | Borderou de evaluare (job #3220586)
Borderou de evaluare (job #3220586)
Raport evaluator
Compilare:
main.cpp: In function 'std::vector<int> manacher(const std::vector<std::__cxx11::basic_string<char> >&)':
main.cpp:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for (int i = 0; i < man.size(); i++) {
| ~~^~~~~~~~~~~~
main.cpp:43:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | while (i - man[i] >= 0 && i + man[i] < man.size()
| ~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'std::vector<int> getVec(std::vector<int>)':
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=0; i<man.size(); i+=2)
| ~^~~~~~~~~~~
main.cpp:86:21: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
86 | return std::move(ans);
| ~~~~~~~~~^~~~~
main.cpp:86:21: note: remove 'std::move' call
main.cpp: In function 'long long int solve(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:93:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | for(int i=0; i<man.size(); ++i)
| ~^~~~~~~~~~~
main.cpp:102:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for(int i=1; i<left.size(); ++i)
| ~^~~~~~~~~~~~
main.cpp:107:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
107 | for(int i=1; i<right.size(); ++i)
| ~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 3ms | 2678kb | Incorect | 0 |
8 | 4ms | 3764kb | Incorect | 0 |
9 | 2ms | 1605kb | Incorect | 0 |
10 | 1ms | 1409kb | Incorect | 0 |
11 | 4ms | 3198kb | Incorect | 0 |
12 | 4ms | 3702kb | Incorect | 0 |
13 | 5ms | 4313kb | Incorect | 0 |
14 | 4ms | 5537kb | Incorect | 0 |
15 | 9ms | 11657kb | Incorect | 0 |
16 | 8ms | 10985kb | Incorect | 0 |
17 | 9ms | 12046kb | Incorect | 0 |
18 | 9ms | 11640kb | Incorect | 0 |
19 | 9ms | 11640kb | Incorect | 0 |
20 | 59ms | 100388kb | Incorect | 0 |
Punctaj total | 0 |