Borderou de evaluare (job #3209932)
Utilizator | Data | 3 martie 2024 21:52:05 | |
---|---|---|---|
Problema | Interzis | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::vector<int> kmp(const std::string&)':
main.cpp:30:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
30 | return move(pi);
| ~~~~^~~~
main.cpp:30:20: note: remove 'std::move' call
main.cpp: In function 'std::vector<int> kmpError(const std::string&)':
main.cpp:46:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
46 | return move(error);
| ~~~~^~~~~~~
main.cpp:46:20: note: remove 'std::move' call
main.cpp: In function 'int main()':
main.cpp:63:39: error: 'error' was not declared in this scope; did you mean 'perror'?
63 | addSelf(dp[i][error[j]], dp[i - 1][j]);
| ^~~~~
| perror
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !