Borderou de evaluare (job #3209934)
Utilizator | Data | 3 martie 2024 21:54:13 | |
---|---|---|---|
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> kmperr(const std::string&)':
main.cpp:46:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
46 | return move(err);
| ~~~~^~~~~
main.cpp:46:20: note: remove 'std::move' call
main.cpp: In function 'int main()':
main.cpp:63:39: error: 'err' was not declared in this scope; did you mean 'erf'?
63 | addSelf(dp[i][err[j]], dp[i - 1][j]);
| ^~~
| erf
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !